(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[769],{41740:(e,t,n)=>{"use strict";n.d(t,{k:()=>a});const a=(0,n(51810).createContext)({menus:void 0,downloadLinkGroup:void 0,supportLocales:[],isLogin:!1,isMobile:!1,isMac:!1,isWin:!1,isBrowserSupport:!1,query:{},path:"",originPath:"",category:"",isAggregated:!1,languageId:""})},86360:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});var a=n(51810);var o=n(41740);function r(){return(0,a.useContext)(o.k)}},39738:(e,t,n)=>{"use strict";n.d(t,{m:()=>c,jU:()=>i,sz:()=>r});n(27127);var a=n(8525),o=n.n(a);function r(e){try{const t=JSON.parse(e);return o()(t)?t:[]}catch{return[]}}function i(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}var s=n(33278),l=n.n(s);n(78158);function c(e){try{return new(l())(e).pathname}catch(t){return""}}},92075:(e,t,n)=>{"use strict";n.d(t,{h:()=>M});var a=n(51810),o=n(23169),r=n(75583),i=n(96977),s=n(25237),l=n(95020),c=n(99068),d=n(22599),u=n(52616),p=n(6391),g=n(50735),m=n(29858),h=n(65510),_=n(81943),f=n(82320),v=n(42949),y=n(71098),b=n(36648),C=n(7867),w=n(49087),k=n(3201),E=n(3525),x=n(13042),I=n(18593),T=n(86360),N=n(43169),S=n(84940);const R=(0,i.default)({resolved:{},chunkName:()=>"libs-component",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:async()=>(await Promise.all([n.e(579),n.e(21),n.e(323),n.e(255),n.e(277)]).then(n.bind(n,23187))).LvEditorShortcut,requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 23187}}),P=(0,i.default)({resolved:{},chunkName:()=>"libs-feedback",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:async()=>(await Promise.all([n.e(212),n.e(371),n.e(584),n.e(797)]).then(n.bind(n,30861))).Feedback,requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 30861}}),A=(0,i.default)({resolved:{},chunkName:()=>"libs-component",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:async()=>(await Promise.all([n.e(579),n.e(21),n.e(323),n.e(255),n.e(277)]).then(n.bind(n,23187))).LvFilmTaskListNew,requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 23187}}),j=(0,i.default)({resolved:{},chunkName:()=>"libs-component",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:async()=>(await Promise.all([n.e(579),n.e(21),n.e(323),n.e(255),n.e(277)]).then(n.bind(n,23187))).LvNotification,requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 23187}}),L=()=>{const{isMobile:e,isAggregated:t}=(0,T.b)(),n=(0,C.Z)(),a=(0,w.B)();if(e)return null;const r=t?m.gJ.ARTICLE_GROUP_PAGE:m.gJ.ARTICLE_PAGE,i=(0,v.G)(h.l.LOGIN.PATH,{current_page:r,article_title:n,article_type:a}),c=(0,v.G)(h.l.SIGN_UP.PATH,{current_page:r,article_title:n,article_type:a});return(0,S.jsxs)("div",{className:N.Z.links,children:[(0,S.jsx)(o.Z,{href:i,target:"_self",onClick:()=>{(new s.D).report({action:l.RP.LOGIN,article_title:n,article_type:a})},children:(0,y.e)(_.W.login)}),(0,S.jsx)(o.Z,{href:c,target:"_self",type:"primary",onClick:()=>{(new s.D).report({action:l.RP.SIGN_UP,article_title:n,article_type:a})},children:(0,y.e)(_.W.signUp)})]})},O=()=>{const{isBrowserSupport:e}=(0,T.b)(),t=(0,k.t)(),o=(0,I.v)(t,(e=>e.context.userInfo)),[r,i]=(0,a.useState)(null),[s,l]=(0,a.useState)(null),d=(0,a.useRef)(!1),u=(0,a.useRef)(!1),p=(0,E.Y)(),g=(0,a.useMemo)((()=>s?.LvStorageExpandModalSingleton?.({...p})),[p,s]),m=(0,E.g)(g);return(0,a.useEffect)((()=>{!async function(){if(e&&o?.uid&&!u.current){u.current=!0;const{EverCloud:e}=await Promise.all([n.e(371),n.e(579),n.e(255),n.e(924)]).then(n.bind(n,18924));e.setTeaReporter((0,c.y)().tea),await e.setOptions({is_boe:!1,dc_name:o?.idc,source_from:13,user_id:o?.uid,level:"error"}),i(e)}}()}),[e,r,o?.uid]),(0,a.useEffect)((()=>{!async function(){e&&!d.current&&(d.current=!0,l(await Promise.all([n.e(212),n.e(21),n.e(102),n.e(908)]).then(n.bind(n,14908))))}()}),[e]),e&&r&&o?.region&&o?.uid&&g&&void 0!==m?(0,S.jsx)(A,{isBOE:!1,currentPage:f.B.ArticlePage,everCloud:r,expandModal:g,isSupportExpand:m,region:o?.region,uid:o?.uid}):null},D=()=>{const{supportLocales:e,isLogin:t,isAggregated:n}=(0,T.b)(),o=(0,x.D)(),r=(0,a.useMemo)((()=>({pageEnterFrom:"",statusEnterFrom:"",currentPage:"article_page"})),[]),i=(0,k.t)(),s=(0,I.v)(i,(e=>e.matches("noSign"))),l=(0,I.v)(i,(e=>e.matches("hasSign"))),{isMobile:c}=(0,b.S7)(),p=n?m.gJ.ARTICLE_GROUP_PAGE:m.gJ.ARTICLE_PAGE;return(0,a.useEffect)((()=>{s&&!c&&i.send({type:"SIGN_IN_GOOGLE_ONE_TAB",currentPage:p,source:d.C.LoginIn})}),[s]),(0,S.jsxs)(S.Fragment,{children:[t||l?(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(R,{reporterParams:{scenario:"",scale:"",save_to:"myspace",position:"page_header",group_id:"",current_page:p}}),(0,S.jsx)(O,{}),(0,S.jsx)(j,{})]}):null,(0,S.jsx)(P,{...o}),t||l?(0,S.jsx)(u.h,{params:r,mode:"avatar",showMenu:!0,language:{supportLocales:e}}):(0,S.jsx)(L,{})]})},M=()=>{const{menus:e,isMobile:t,isMac:n,isWin:a,isLogin:o,downloadLinkGroup:i,query:s,path:l,grayInfo:c,isAggregated:d,userBaseInfo:u}=(0,T.b)(),_=(0,C.Z)(),f=(0,w.B)(),v=d?m.gJ.ARTICLE_GROUP_PAGE:m.gJ.ARTICLE_PAGE;return(0,S.jsx)(p.K,{renderActions:(0,S.jsxs)(S.Fragment,{children:[(0,S.jsx)(r.N,{fallback:o?void 0:(0,S.jsx)(L,{}),children:(0,S.jsx)(D,{})}),u?(0,S.jsx)(g.g,{userBaseInfo:u}):null]}),headerData:e,fixed:!0,isBOE:!1,isMobile:t,isMac:n,isWin:a,query:s,path:l,homepage:{showMenuItem:o,href:o?h.l.WORKSPACE.CHILD.MY_DRAFT.PATH:h.l.HOME.PATH},template:{showMenuItem:c?.version_list?.includes?.("feature_template")&&!o,href:h.l.TEMPLATE.PATH},commonReporterParams:{current_page:v},menuReporterParams:{current_page:v,article_title:_,article_type:f},downloadLinkGroup:i})}},37740:(e,t,n)=>{"use strict";n.d(t,{h:()=>i.h,u:()=>r});n(51810);const a="zGVKuMpmshspoqeqCSbe";var o=n(84940);const r=()=>(0,o.jsx)("div",{className:a,children:"404 Not Found"});var i=n(92075)},85997:(e,t,n)=>{"use strict";n.d(t,{V:()=>c});var a=n(9887),o=n.n(a),r=n(18267),i=n.n(r),s=n(51810),l=n(76761);const c=e=>(0,s.useMemo)((()=>{const t=[];return e?.schema?.components?.forEach((e=>{const n=e.props?.[l.ts]||[],a=e.props?.[l.aH]||[];n?o()(n).call(n,(e=>{t.push(e)})):t.push(...i()(a).call(a,(e=>({id:e}))))})),t}),[e])},83686:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>de});var a=n(34567),o=n.n(a),r=n(18267),i=n.n(r),s=n(59851),l=n.n(s),c=n(28082),d=n.n(c),u=n(29043),p=n.n(u),g=n(27766),m=n.n(g),h=n(21329),_=n.n(h),f=n(96959),v=n.n(f),y=n(19963),b=n.n(y),C=n(51810),w=n(67345),k=n(75583),E=n(99566),x=n(94557),I=n(77313),T=n(89725),N=n(33063),S=n(57860),R=n(28189),P=n(47839),A=n(29858),j=n(82320),L=n(59956),O=n(58793),D=n(58698),M=n(75889),F=n(36648),U=n(76497),B=n(18746),W=n(84945),G=n(96977),Z=n(64355),H=n(18226),z=n.n(H),q=n(85563),Y=n(78158),V=n(57977),K=n(32482),J=n(32172),X=n(22169),Q=n.n(X),$=n(37740),ee=n(39738),te=n(41740),ne=n(86360),ae=n(85997),oe=n(955),re=n(84940);const ie=(0,G.default)({resolved:{},chunkName:()=>"libs-component",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:async()=>(await Promise.all([n.e(579),n.e(21),n.e(323),n.e(255),n.e(277)]).then(n.bind(n,23187))).LvCookieBanner,requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 23187}}),se=e=>{let{component:t,isLogin:n,id:a,rank:o}=e;const r=(0,C.useMemo)((()=>E.oo.get(t.name)?.component),[t]),i=(0,ne.b)(),s=Q().pick(i,["isMobile","isIos","path","category","isAggregated","languageId","originPath","componentTags","downloadLinkGroup","categoryTitle","tagTree","articleTitle","updateTime"]);return Q().assign(s,{containerType:x.lS.CMS}),r?(0,re.jsx)(r,{...t.props,compenentId:a,rank:o,isLogin:n,headContainer:w.ql,...s}):null},le=e=>{let{data:t,footerData:n,menus:a,downloadLinkGroup:r,canonical:s,locale:c,categoryList:u,isLogin:g,isMobile:h,isMac:f,isWin:y,isIos:b,isBrowserSupport:E,query:x,grayInfo:S,userBaseInfo:L,path:O,originPath:D}=e;const{components:M,settings:F}=t?.schema??{},U=(0,K.a)(),G=(0,C.useMemo)((()=>{var e,n;return Q().uniq([c,...o()(e=i()(n=l()(t.hreflang??{})).call(n,(e=>{const n=t.hreflang?.[e]||"",a=(0,ee.m)(n);return Y.uL.getLocalPrefix(a)||""}))).call(e,(e=>!!e))])}),[c,t]);d()(G).call(G,P.Gp)&&!d()(G).call(G,P.zE.Spanish.key)&&p()(G).call(G,m()(G).call(G,P.Gp),1,P.zE.Spanish.key),(0,C.useEffect)((()=>{(0,ee.jU)()&&(B.j.setCurrentPage("article_page"),B.j.registerReport())}),[]);const Z=(0,C.useMemo)((()=>{const e={};for(const[t,n]of _()(U).call(U))e[t]=n;return e}),[U]);(0,J.A)({isBOE:!1,isPageViewReport:!0,appVersion:"1.0.0.1697"}),(0,C.useEffect)((()=>{O&&t?.is_aggregated&&(new W.n).report({action:"page_show",article_type:(0,I.i6)(O)})}),[t.is_aggregated,O]);const H=(0,ae.V)(t);return(0,re.jsx)(te.k.Provider,{value:{menus:a,downloadLinkGroup:r,supportLocales:G,isLogin:g,isMobile:h,isMac:f,isWin:y,isIos:b,isBrowserSupport:E,grayInfo:S,userBaseInfo:L,query:x??Z,articleTitle:t?.title,path:O,originPath:D,category:t?.category,categoryTitle:u?.find((e=>e.id===t?.category))?.title,isAggregated:t?.is_aggregated,languageId:t?.language_id,componentTags:H,tagTree:t?.tag_tree,updateTime:t?.update_time},children:(0,re.jsxs)("div",{className:`${h?oe.Z["is-mobile"]:""}`,children:[(0,re.jsx)(q.HJ,{headContainer:w.ql,...F??{},hreflang:(e=>{if(e[P.zE.Spanish.key]&&delete e[P.zE.Spanish.key],e["x-default"]){const t=(0,ee.m)(e["x-default"]),n=Y.uL.getLocalPrefix(t);n&&(e[n]=e["x-default"])}return e})(t.hreflang||{}),canonical:F?.canonical||s}),(0,re.jsx)(q.vf,{headContainer:w.ql,array:F?.dataStructureCode?(0,ee.sz)(F.dataStructureCode):[]}),(0,re.jsx)(w.ql,{children:F?.customCode?(0,R.ZP)(F.customCode):null}),(0,re.jsx)($.h,{}),(0,re.jsx)("main",{className:oe.Z.container,children:M?.map(((e,t)=>(0,re.jsx)(se,{id:e.id,rank:t,component:e,isLogin:g},e.id)))}),(0,re.jsx)(T.E,{isMobile:h}),(0,re.jsx)(N.G,{footerData:n,query:{...x,[A.WB.FROM_PAGE]:t?.is_aggregated?A.WB.PAGE_ARTICLE_GROUP:A.WB.PAGE_ARTICLE},path:O,border:!0,assignBuriedToMenu:{current_page:j.B.ArticlePage},supportLocales:G}),(0,re.jsx)("script",{dangerouslySetInnerHTML:{__html:"window.LOCALE_SSR = "+(c?`'${c}'`:"undefined")}}),(0,re.jsx)("script",{dangerouslySetInnerHTML:{__html:`window.__WASM_FILE__ = ${v()(S?.wasm_file_config||{})}`}}),(0,re.jsx)(k.N,{children:(0,re.jsx)(ie,{})})]})})},ce=e=>{const{components:t}=e.data?.schema??{};return(0,C.useEffect)((()=>{(0,Z.ZP)("init",{bid:L.y.B_ID,release:"cms_frontend-1.0.0.1697",env:"production"}),(0,Z.ZP)("start")})),t?(0,re.jsxs)(S.i,{options:{isBOE:!1,shouldFetchLocation:(0,ee.jU)()&&void 0!==window.__locationCountryCode},renderInServer:!(0,ee.jU)(),fixedTheme:e.isLogin?void 0:O.Q.Dark,children:[(0,re.jsx)(le,{...e}),e.isLogin?(0,re.jsx)("script",{dangerouslySetInnerHTML:{__html:`(${M.g.toString()})();`}}):null]}):(0,re.jsx)($.u,{})};ce.getInitialProps=async e=>{let{ctx:t,query:n,pathname:a}=e;const o=t?.origin||location?.origin||"";if(t){const e=(0,F.ZJ)(t.req.headers["user-agent"]),r=e.isWin&&(0,U.pM)({utm_source:n?.utm_source??"",utm_medium:n?.utm_medium??""}),[i,s,l,c,d,u,p,g]=await b().all([t.service.content.get({id:n.id,path:a}),t.service.menu.get(),t.service.footer.get(),t.service.tcc.getDownloadLinkGroup(r),t.service.user.isLogin(),t.service.tcc.getCategory(),t.service.gray.getGrayInfo(),t.service.user.getUserBaseInfo()]),m=Q().get(u,t.LvLocale.getCurrentLocale({localeFix:!0}));return i?.schema?.components||(t.status=404),{data:i,footerData:l,menus:s,downloadLinkGroup:c,canonical:`${t.origin}${t.originalUrl}`.replace(t.search,""),locale:t.LvLocale.getCurrentLocale(),categoryList:m,isLogin:d,isMobile:"mobile"===e.env,isMac:e.isMac,isWin:e.isWin,isIos:e.isIos,isBrowserSupport:(0,F.Cm)(D.S,t.req.headers["user-agent"]),query:n,grayInfo:p,userBaseInfo:g,path:a,originPath:o}}{const e=Y.uL.getLocalPrefix(a),[t,r,i,s]=await b().all([z().get("/api/content/get",{params:{id:n.id,path:a}}),z().post("/api/user/isLogin"),z().get("/api/category/get"),V.X.getGrayInfo()]),l=Q().get(i.data,e??"en");return{data:t.data.data,footerData:void 0,menus:void 0,downloadLinkGroup:void 0,canonical:location.href.replace(location.search,""),locale:e??"en",categoryList:l,isLogin:r.data.data,isMobile:"mobile"===(0,F.ZJ)().env,isMac:(0,F.ZJ)().isMac,isWin:(0,F.ZJ)().isWin,isBrowserSupport:(0,F.Cm)(D.S),grayInfo:s||{},query:void 0,userBaseInfo:void 0,path:a,originPath:o}}};const de=ce},17476:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});var a=n(18226),o=n.n(a);const r={getMenu:e=>o().get("/api/menu/get",{params:e}),getFooter:e=>o().get("/api/footer/get",{params:e}),getAggregateContent:e=>o().post("/cms/api/contentV2/get_aggregate_content",e),getTagItem:e=>o().post("/cms/api/tag/get_tag_item",e),getCategoryData:()=>o().get("/cms/api/category/get")}},57977:(e,t,n)=>{"use strict";n.d(t,{X:()=>p});var a=n(19963),o=n.n(a),r=n(32383),i=n(59956),s=n(65693),l=n(58740),c=n(49718);const d={baseURL:"/lv/v1",method:"POST",headers:{loc:i.y.CHANNEL,lan:r.ZP.language||i.y.LAN,pf:i.y.APP_PF,appvr:i.y.VERSION,tdid:"","sign-ver":1,"app-sdk-version":i.y.APP_SDK_VERSION},params:{}},u=c.Z.createAxios(d);u.interceptors.request.use((e=>{const{pf:t,appvr:n,tdid:a}=d.headers;return e.headers={...e.headers,...(0,l.O)({url:`${e.baseURL}${e.url}`,pf:t,appvr:n,tdid:a})},e})),u.interceptors.response.use((e=>{if(200===e.status){const t=e.data;return"0"===t.ret?o().resolve(t):o().reject(e)}return o().reject(e)})),(0,s.Z)(u,{retries:5,resetTimeout:!0,retryDelay:1e3,isRetry:()=>!0});const p={async getGrayInfo(){try{return(await u({url:"/gray_test/get_gray_info",data:{sdk_version:"999.999.999"}}))?.data}catch(e){return{}}}}},3885:(e,t,n)=>{"use strict";n.d(t,{Y:()=>w});var a=n(19963),o=n.n(a),r=n(28082),i=n.n(r),s=n(39333),l=n.n(s),c=n(59956),d=n(68781),u=n(63101),p=n(36436),g=n(32383),m=n(58740),h=n(49718),_=n(68244),f=n(65693),v=n(81599);const y={baseURL:"/pipo",method:"POST",headers:{loc:c.y.CHANNEL,lan:g.ZP.language||c.y.LAN,pf:c.y.APP_PF,appvr:c.y.VERSION,tdid:"","sign-ver":1,"app-sdk-version":c.y.APP_SDK_VERSION},useCommerceApi:!0},b=h.Z.createAxios(y);function C(e){var t;return l()(t=[u.yp.US,u.yp.BR]).call(t,(t=>t===e))?_.Qz.VA:_.Qz.SG}b.interceptors.request.use((e=>{const{pf:t,appvr:n,tdid:a}=y.headers;return e.headers={...e.headers,...(0,m.O)({url:`${e.baseURL}${e.url}`,pf:t,appvr:n,tdid:a})},e})),b.interceptors.response.use((e=>{if(200===e.status){const t=e.data;return"0"===t.ret?o().resolve(t):o().reject(e)}return o().reject(e)})),(0,f.Z)(b,{retries:5,resetTimeout:!0,retryDelay:1e3,isRetry:e=>{var t;return!i()(t=[d.B.PIPO.REFRESH_USER_SPACE_FAILURE]).call(t,e?.data?.ret)}});const w={getNonceSingleton:(()=>{let e="",t=Number(new Date);return async()=>{const n=Number(new Date);if(!e||n>=t){const a=await w.getPipoNonce();e=a.data.nonce,t=n+24e4}return e}})(),getPipoApiServiceSingleton:(()=>{let e;return(t,n)=>(e||(e=new v.ZP({idc:t?_.Qz.BOE:C(n),merchantId:(0,p.tt)(t,n),hasRequestTime:!0})),e)})(),getPipoUserRegionByCache:(()=>{let e,t;return()=>e||(e=new(o())(((n,a)=>{if(t)return e=void 0,void n(t);w.getPipoUserRegion().then((a=>{t=a?.data?.region,e=void 0,n(t)})).catch((t=>{e=void 0,a(t)}))})),e)})(),getPipoUserRegion:async()=>await b({url:"/v2/subscription/third_party/get_region",data:{aid:c.y.APP_ID}}),getPipoNonce:async()=>await b({url:"/v2/purchase/third_party/nonce",data:{aid:c.y.APP_ID}}),initPipoPayment:async e=>await b({url:"/v2/purchase/third_party/init_payment",data:{aid:c.y.APP_ID,product_id:e.product_id,order_type:e.order_type,user_create_time:e.user_create_time}}),cancelSubscripiton:async e=>await b({url:"/v2/subscription/third_party/cancel",data:{aid:c.y.APP_ID,subscribe_id:e.subscribe_id}}),getCapcutOrderStatus:async e=>await b({url:"/v2/subscription/third_party/get_order_status",data:{aid:c.y.APP_ID,order_id:e.orderId,subscribe_type:e.subscribeType}}),getStoreMethodStauts:async e=>await b({url:"/v2/subscription/third_party/get_store_method_status",data:{aid:c.y.APP_ID,idempotency_key:e.idempotencyKey}}),async getCashierBasicInfo(e){const t=w.getPipoApiServiceSingleton(e.serviceProps.isBOE,e.serviceProps.region),n=await w.getNonceSingleton();return await t.api.pipo.payment.getCashierBasicInfo({...e.basicInfoProps,nonce:n})},async getAgreementBasicInfo(e){const t=w.getPipoApiServiceSingleton(e.serviceProps.isBOE,e.serviceProps.region),n=await w.getNonceSingleton();return await t.api.pipo.payment.getAgreementBasicInfo({...e.basicInfoProps,nonce:n})},async postPipoPay(e){const t=w.getPipoApiServiceSingleton(e.serviceProps.isBOE,e.serviceProps.region),n=await w.getNonceSingleton();return await t.api.pipo.payment.pay({...e.payInfoProps,nonce:n})},async getPaymentDetails(e){const t=w.getPipoApiServiceSingleton(e.serviceProps.isBOE,e.serviceProps.region),n=await w.getNonceSingleton();return await t.api.pipo.payment.getPaymentDetails({...e.basicInfoProps,nonce:n})},async storingPaymentMethod(e){const t=w.getPipoApiServiceSingleton(e.serviceProps.isBOE,e.serviceProps.region),n=await w.getNonceSingleton();return await t.api.pipo.payment.storePaymentMethod({...e.basicInfoProps,nonce:n})},async getDistrict(e){const t=w.getPipoApiServiceSingleton(e.serviceProps.isBOE,e.serviceProps.region);return await t.api.location.get_district({...e.basicInfoProps})},async getPipoAddressAutoComplete(e){const t=w.getPipoApiServiceSingleton(e.serviceProps.isBOE,e.serviceProps.region);return(await t.api.addressAutocomplete.get_auto_complete({...e.basicInfoProps})).infos},async getPipoPlaceDetail(e){const t=w.getPipoApiServiceSingleton(e.serviceProps.isBOE,e.serviceProps.region);return(await t.api.addressAutocomplete.get_place_detail({...e.basicInfoProps})).addr_info},async getUnifiedBinDetail(e){const t=w.getPipoApiServiceSingleton(e.serviceProps.isBOE,e.serviceProps.region),n=await w.getNonceSingleton(),{card_number:a,country_or_region:o,merchant_user_id:r}=e.basicInfoProps;return await t.api.pipo.payment.getUnifiedBinDetail({card_number:a,country_or_region:o,merchant_user_id:r,nonce:n})}}},89736:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});var a=n(18226),o=n.n(a);const r=String.fromCharCode(98),i={boe:{MVAALI:`https://${String.fromCharCode(116)}osv-boei18n.${r}yted.org/obj/tcc-config-web-boei18n/tcc-v2-data-{service_name}-{confspace}`},online:{MVAALI:"https://sf16-tcc-tos-va.byteoversea.com/obj/tcc-config-web-maliva/tcc-v2-data-{service_name}-{confspace}"}},s={async getDownloadLinkGroup(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];try{const n=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"default";return e.replace("{service_name}",t).replace("{confspace}",n)}(e?i.boe.MVAALI:i.online.MVAALI,"ies.lvweb_os.platform_index"),a=await o().get(n),r=JSON.parse(a?.data?.data?.footerHeaderAndLinks)?.bee_dsrc_11969?.[0],s=r?.mac_download_pkg?.channel_default??"",l=r?.windows_download_pkg?.channel_default??"";return{data:{mac:s,win:t?r?.windows_download_pkg?.lenovo??l:l}}}catch{return{data:{mac:"",win:""}}}}}},93916:(e,t,n)=>{"use strict";n.d(t,{d:()=>d});var a=n(19963),o=n.n(a),r=n(59956),i=n(49718),s=n(58740);const l={baseURL:"/lv/v1/task",method:"POST",headers:{loc:r.y.CHANNEL,lan:r.y.LAN,pf:r.y.APP_PF,appvr:r.y.VERSION,tdid:"","sign-ver":1,"app-sdk-version":r.y.APP_SDK_VERSION}},c=i.Z.createAxios(l);c.interceptors.request.use((e=>{const{pf:t,appvr:n,tdid:a}=l.headers;return e.headers={...e.headers,...(0,s.O)({url:`${e.baseURL}${e.url}`,pf:t,appvr:n,tdid:a})},e})),c.interceptors.response.use((e=>{if(200===e.status){const t=e.data;return"0"===t.ret?o().resolve(t):o().reject(e)}return o().reject(e)}));const d={getTaskCenterStatus:async()=>await c({url:"/get_task_status"}),getInviteInfo:async e=>await c({url:"/get_invite_detail",data:e}),getInviteLink:async()=>await c({url:"/get_invite_link"}),getRewardTasks:async()=>await c({url:"/get_reward_tasks"}),receiveTasks:async e=>await c({url:"/receive_tasks",data:e})}},34763:(e,t,n)=>{"use strict";n.d(t,{k:()=>_});var a=n(19963),o=n.n(a),r=n(49702),i=n.n(r),s=n(18267),l=n.n(s),c=n(32383),d=n(59956),u=n(49718),p=n(65693),g=n(58740);const m={baseURL:"/commerce",method:"POST",headers:{loc:d.y.CHANNEL,lan:c.ZP.language||d.y.LAN,pf:d.y.APP_PF,appvr:d.y.VERSION,tdid:"","sign-ver":1,"app-sdk-version":d.y.APP_SDK_VERSION},useCommerceApi:!0},h=u.Z.createAxios(m);h.interceptors.request.use((e=>{const{pf:t,appvr:n,tdid:a}=m.headers;return e.headers={...e.headers,...(0,g.O)({url:`${e.baseURL}${e.url}`,pf:t,appvr:n,tdid:a})},e})),h.interceptors.response.use((e=>{if(200===e.status){const t=e.data;return"0"===t.ret?o().resolve(t.data):o().reject(e)}return o().reject(e)})),(0,p.Z)(h,{retries:5,resetTimeout:!0,retryDelay:1e3,isRetry:()=>!0});const _={async getSpaceList(){const e="/v1/subscription/space_list",t=(0,g.O)({url:e,...m.headers});return await h({url:e,headers:{...t},data:{aid:Number(d.y.APP_ID)}})},async getPriceList(e){var t,n;const a="/v1/subscription/cc_web_price_list",o=(0,g.O)({url:a,...m.headers}),r=await h({url:a,headers:{...o},data:{aid:Number(d.y.APP_ID),scene:"web",region:e}}),s=i()(t=r.all_price_list).call(t,((e,t)=>(e[t.product_id]=t,e)),{}),c=l()(n=r.tab_list).call(n,(e=>{var t;return{as_default:e.as_default,products:l()(t=e.product_ids).call(t,(e=>s[e]))}}));return{allPriceList:r.all_price_list,groupProductList:c,ccWebDisplayInfo:r.cc_web_display_info}},getSubscriptionList:async()=>await h({url:"/v1/subscription/order_record_list",data:{aid:Number(d.y.APP_ID),cursor:0,count:1}})}},78290:(e,t,n)=>{"use strict";n.d(t,{p:()=>g});var a=n(19963),o=n.n(a),r=n(59956),i=n(68781),s=n(32383),l=n(49718),c=n(58740),d=n(65693);const u={baseURL:"",method:"POST",headers:{loc:r.y.CHANNEL,lan:s.ZP.language||r.y.LAN,pf:r.y.APP_PF,appvr:r.y.VERSION,tdid:"","sign-ver":1,"app-sdk-version":r.y.APP_SDK_VERSION}},p=l.Z.createAxios(u);p.interceptors.response.use((e=>{if(200===e.status){const t=e.data;return"0"===t.ret?o().resolve(t.data):o().reject(e)}return o().reject(e)})),(0,d.Z)(p,{retries:5,resetTimeout:!0,retryDelay:1e3,isRetry:e=>Number(e?.data?.ret)!==i.B.EVER_CLOUD.INVALID_IDC});const g={async getEverPhotoToken(){const e="/lv/v1/ever_photo/get_token",{pf:t,appvr:n,tdid:a}=u.headers;return await p({url:e,data:{},headers:{...(0,c.O)({url:e,...u.headers,pf:t,appvr:n,tdid:a})}})},async getWorkspaceEverPhotoToken(){const e="/cc/v1/workspace/get_ever_photo_token",{pf:t,appvr:n,tdid:a}=u.headers;return await p({url:e,data:{},headers:{...(0,c.O)({url:e,...u.headers,pf:t,appvr:n,tdid:a})}})},async getEverPhotoUserSpace(e){const t="/lv/v1/ever_photo/get_user_space",{pf:n,appvr:a,tdid:o}=u.headers;return await p({url:t,data:{workspace_id:e},headers:{...(0,c.O)({url:t,...u.headers,pf:n,appvr:a,tdid:o})}})}}},82007:(e,t,n)=>{"use strict";n.d(t,{E:()=>u});var a=n(19963),o=n.n(a),r=n(32383),i=n(59956),s=n(49718),l=n(58740);const c={baseURL:"/cc/v1/workspace",method:"POST",headers:{loc:i.y.CHANNEL,lan:r.ZP.language||i.y.LAN,pf:i.y.APP_PF,appvr:i.y.VERSION,tdid:"","sign-ver":1,"app-sdk-version":i.y.APP_SDK_VERSION}},d=s.Z.createAxios(c);d.interceptors.request.use((e=>{const{pf:t,appvr:n,tdid:a}=c.headers;return e.headers={...e.headers,...(0,l.O)({url:`${e.baseURL}${e.url}`,pf:t,appvr:n,tdid:a})},e})),d.interceptors.response.use((e=>{if(200===e.status){const t=e.data;return"0"===t.ret?o().resolve(t):o().reject(e)}return o().reject(e)}));const u={getUserWorkSpace:async e=>await d({url:"/get_user_workspaces",data:e}),createWorkspace:async e=>await d({url:"/create_workspace",data:e}),getWorkspaceMember:async e=>await d({url:"/get_member",data:e}),mGetWorkspaceUserInfo:async e=>await d({url:"/mget_workspace_user_info",data:e}),quitWorkspace:async e=>await d({url:"/quit_user",data:e}),mGetWorkspaceInfo:async e=>await d({url:"/mget_workspace_info",data:e}),getWorkspaceInfoEverPhotoToken:async e=>await d({url:"/get_ever_photo_token",data:e}),getInvitationLink:async e=>await d({url:"/get_invitation_link",data:e}),setWorkspaceUser:async e=>await d({url:"/set_user",data:e}),removeWorkspaceUser:async e=>await d({url:"/remove_user",data:e}),updateUserInfo:async e=>await d({url:"/update_user_info",data:e}),updateWorkspaceInfo:async e=>await d({url:"/update_workspace_info",data:e}),joinWorkspace:async e=>await d({url:"/join_workspace",data:e}),getWorkspaceInfoByInvitationLink:async e=>await d({url:"/get_workspace_info_by_invitation_link",data:e}),mGetWorkspaceEverphotoUserInfo:async e=>await d({url:"/mget_workspace_ever_photo_user_info",data:e}),recentWorkspaceFileOpen:async e=>await d({url:"/recent_file_list",data:e}),syncWorkspaceInfoFileOpen:async e=>await d({url:"/sync_file_open_time",data:e}),refreshUserWorkspaceInvitationLink:async e=>await d({url:"/refresh_invitation_link",data:e}),updateUserWorkspaceInvitationLinkStatus:async e=>await d({url:"/update_invitation_link_status",data:e}),workspaceDirectionalInvited:async e=>await d({url:"/email_directional_invited",data:e}),getWorkspaceFileEditOwner:async e=>await d({url:"/get_file_edit_owner",data:e}),updateWorkspaceFileEditOwner:async e=>await d({url:"/update_file_edit_owner",data:e}),mgetWorkspaceFileOpenTime:async e=>await d({url:"/mget_file_open_time",data:{...e,workspace_id:e.workspace_id||"0"}}),getWorkspaceUploadLinkInfo:async e=>await d({url:"/get_upload_link_info",data:e}),syncWorkspaceFile:async e=>await d({url:"/sync_file_everphoto",data:e}),syncFileEverphotoState:async e=>await d({url:"/sync_file_everphoto_state",data:e}),workspaceSensitiveWord:async e=>await d({url:"/sensitive_word",data:e}),updateUserWorkspaceUploadLink:async e=>await d({url:"/update_workspace_upload_link",data:e}),getUserWorkspaceUploadLink:async e=>await d({url:"/get_workspace_upload_link",data:e})};var p;!function(e){e[e.NOT_WORKSPACE_MEMBER=2316]="NOT_WORKSPACE_MEMBER",e[e.NOT_WORKSPACE_PERMISSION=2317]="NOT_WORKSPACE_PERMISSION"}(p||(p={}))},68244:(e,t,n)=>{"use strict";var a,o,r,i;n.d(t,{vz:()=>a,Ay:()=>o,Qz:()=>r}),function(e){e.INIT="INIT",e.PENDING="PENDING",e.SUCCESS="SUCCESS",e.FAIL="FAIL"}(a||(a={})),function(e){e.AUTO="auto",e.UNAUTO="unauto"}(o||(o={})),function(e){e.BOE="boe",e.SG="sg",e.VA="va"}(r||(r={})),function(e){e.SUCCESS="success",e.ERROR="error"}(i||(i={}))},1105:(e,t,n)=>{"use strict";n.d(t,{B:()=>g});var a=n(19963),o=n.n(a),r=n(32383),i=n(59956),s=n(68781),l=n(49718),c=n(65693),d=n(58740);const u={baseURL:"/lv/v1/user",method:"POST",headers:{loc:i.y.CHANNEL,lan:r.ZP.language||i.y.LAN,pf:i.y.APP_PF,appvr:i.y.VERSION,tdid:"","sign-ver":1,"app-sdk-version":i.y.APP_SDK_VERSION},params:{}},p=l.Z.createAxios(u);p.interceptors.request.use((e=>{const{pf:t,appvr:n,tdid:a}=u.headers;return e.headers={...e.headers,...(0,d.O)({url:`${e.baseURL}${e.url}`,pf:t,appvr:n,tdid:a})},e})),p.interceptors.response.use((e=>{if(200===e.status){const t=e.data;return"0"===t.ret?o().resolve(t.data):o().reject(e)}return o().reject(e)})),(0,c.Z)(p,{retries:5,resetTimeout:!0,retryDelay:1e3,isRetry:e=>Number(e?.data?.ret)!==s.B.USER_CODE.NO_LOGIN});const g={getAndUpdateUserInfo:async e=>await p({url:"/web/user_info",data:e}),getUserInfo:async e=>await p({url:"/web/get_user_info",data:{uid:e,need_grade:!1}}),updateUser:async e=>await p({url:"/update",data:e}),thirtpartCloudsDeauthorization:async e=>await p({url:"/web/third_party_clouds_deauthorization",data:e}),authorizationCheck:async e=>await p.post("/web/third_party_clouds_authorization_check",e),getShareUserInfo:async e=>await p({url:"/web/share_user_info",data:e}),shareUserUnbind:async e=>await p({url:"/web/third_party_platform_deauthorization",data:e}),checkAgeGate:async()=>await p({url:"/check_age_gate",data:{}}),confirmBirthday:async e=>await p({url:"/confirm_birthday",data:e}),updateBirthday:async e=>await p({url:"/update_birthday",data:e})}},49718:(e,t,n)=>{"use strict";n.d(t,{R:()=>g,Z:()=>m});var a=n(26318),o=n.n(a),r=n(41915),i=n.n(r),s=n(15700),l=n.n(s),c=n(18226),d=n.n(c),u=n(63101),p=n(5928);const g="custom-idc";const m=new class{region;idc=u._s.GCP;getRegion(){return this.region}setRegion(e){this.region=e}getIDC(){return this.idc}setIDC(e){this.idc=e}baseRequestInterceptors(e){var t,n;const a=o()(t=window.location.host).call(t,"capcut-os."),r=i()(n=window.location.host).call(n,"capcut.com"),s=(void 0!==e?.[g]?.idc?e[g].idc:this.idc)===u._s.VA,l=e.baseURL?.startsWith("https"),c=e?.useCommerceApi?p.Ii.COMMERCE:p.Ii.DEFAULT;return a&&!l&&(e.baseURL=`${s?p.R9[c].VA:p.R9[c].GCP||p.R9[c].SG}${e.baseURL}`),r&&!l&&(e.baseURL=`${s?p.TR[c].VA:p.TR[c].GCP||p.TR[c].SG}${e.baseURL}`),{...e,withCredentials:!0}}createAxios(e){var t;const n=d().create(e);return n.interceptors.request.use(l()(t=this.baseRequestInterceptors).call(t,this)),n}}},92455:(e,t,n)=>{"use strict";var a;n.d(t,{l:()=>a}),function(e){e.ToolIntroductionNew="Tool Introduction New",e.PCIntroduction="PC Introduction"}(a||(a={}))},57953:(e,t,n)=>{"use strict";n.d(t,{NF:()=>f,XS:()=>_,jI:()=>g,_F:()=>m,qp:()=>h});var a=n(18267),o=n.n(a),r=n(9887),i=n.n(r),s=n(51810),l=n(25237),c=n(84945),d=n(50463);var u=n(7867),p=n(49087);const g=e=>{const t=function(){const[e,t]=(0,s.useState)("");return(0,s.useEffect)((()=>{t(location.href)}),[]),e}();return{article_title:(0,u.Z)(),article_type:(0,p.B)(),url:t,component_id:e?.compenentId,rank:e?.rank}},m=e=>{const[t,n]=(0,d.Z)(void 0,{threshold:.1}),[a,o]=(0,s.useState)(!1),r=g(e);return(0,s.useEffect)((()=>{o((t=>(n&&!t&&(new l.D).report({action:"show",...r,position:e?.position}),n)))}),[n,e.position,r]),[t,a,r]},h=(e,t)=>{const[n,a]=(0,d.Z)(void 0,{threshold:.1}),o=(0,s.useRef)(!1),r={article_type:(0,p.B)(),article_title:e?.articleTitle,article_id:e?.articleId,rank:e?.rank,article_url_path:e?.articleUrlPath,module_rank:e?.moduleRank,module_title:e?.moduleTitle};return(0,s.useEffect)((()=>{a&&!o.current&&((new c.n).report({action:t||"article_show",...r}),o.current=!0)}),[a,e.position,r]),[n,o.current,r]},_=e=>({onClick:(t,n)=>{(new l.D).report({...e,action:t,action_url:n})}});function f(e,t){const[n,a]=(0,s.useState)(t);return(0,s.useEffect)((()=>{const n=document?.querySelector("#preview-iframe")?.contentWindow||window,r=o()(e).call(e,(e=>{let{query:t}=e;return n.matchMedia(t)})),s=()=>{let n=-1;for(let e=r.length-1;e>=0;e--)if(r[e].matches){n=e;break}a(-1!==n?e[n].value:t)};return i()(r).call(r,(e=>e.addEventListener("change",s))),s(),()=>{i()(r).call(r,(e=>e.removeEventListener("change",s)))}}),[e,t]),n}},99566:(e,t,n)=>{"use strict";n.d(t,{xZ:()=>Jl,w4:()=>Xl,b2:()=>$l,sy:()=>tc,oo:()=>oc,mp:()=>ec,gW:()=>nc,_W:()=>ac});var a=n(49702),o=n.n(a),r=n(999),i=n.n(r),s=n(18267),l=n.n(s),c=n(51810),d=n(29858),u=n(95020),p=n(25237),g=n(36648),m=n(42949),h=n(7867),_=n(49087),f=n(43580),v=n(83024),y=n(28189),b=n(31702),C=n(52832),w=n(85026),k=n(34567),E=n.n(k),x=n(78158),I=n(32383),T=n(76761),N=n(76442),S=n(57953),R=n(11742),P=n(85563),A=n(5789),j=n.n(A),L=n(84940);const O=e=>{const t=e?.map(((e,t)=>({"@type":"ListItem",position:t,name:e.label,item:e.href})));return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:t}},D=R.Z.Item;function M(e){let{className:t,headContainer:n,items:a}=e;return(0,L.jsxs)(L.Fragment,{children:[n&&a?.length&&(0,L.jsx)(P.CN,{headContainer:n,...(0,P.au)(O(a))}),(0,L.jsx)(R.Z,{className:j()(t,"breadcrumb"),separator:(0,L.jsx)(b.Gjh,{fill:"currentColor",stroke:"currentColor"}),children:a?.map(((e,t)=>(0,L.jsx)(D,{href:e.href,children:e.label},t)))})]})}var F=n(19093),U=n(23169),B=n(79546);const W="vsssr41XosrgTW5A80t8",G="VcwwgYIN8Gm41vLMJ1yA",Z="wZ2dIOhXp6hagQ50oS6p",H="hddXOkc4fbuiWjhomyNX",z="ftFPA2jVxTD7BADc9AkL",q="iQgbezNG051yeOhaAS_g",Y="x8uBFPgG6a141VVrK6PG",V="Fw3pMtqI4QcPMPdOW8Ul",K="urYA3_fnotWulyFq_1qY",J=c.forwardRef(((e,t)=>{let{children:n,className:a,innerClassName:o,style:r={},gradient:i,coverNode:s,backgroundCode:l,containerBodyStyle:c}=e;const d={...r,background:l||`linear-gradient(180deg, ${i?.color} 0%, rgba(255, 255, 255, .7) ${100/(i?.childrenLength??1)}%)`};return(0,L.jsxs)("section",{ref:t,className:j()(Y,a),style:i||l?d:r,children:[s&&(0,L.jsx)("div",{className:K,children:s}),(0,L.jsx)("div",{className:j()(V,o),style:c,children:n})]})}));var X=n(47482),Q=n(33113),$=n(37317),ee=n(75334);const te={docIntroduction:"lTd0FV2Vtzztz6w6wdyN","docIntroduction-content":"JawJlPsNpNtYRQfPsP0r",title:"HMNw5PnLepstHjzP3RYY",subTitle:"zNjidXGwcjaCHGzLPS8A","title-dark":"JhXYvIDiPWuhh8ma0_xw","subTitle-dark":"Zb8XAUJA23gPvLhNT4Kk","pc-btn-wrap":"_8i8emiUVhw2Uf7oZkzp",actionBtn:"Uyq2CWKkTe8PcXIn3TOg","docIntroduction-content-button":"vwxMO6BAzBHQwButaio5",downloadBtn:"vlb1ecg4DYk4vyqJxTtL",downloadBtnImage:"DONsRhw33cq9mWrUKoFM","docIntroduction-content-button-subtitle":"aWACClG2qSzBvINj1hAD","docIntroduction-content-button-subtitle-dark":"kGY_HVqLOJ7rvDlqNyeg","docIntroduction-image":"XAk_IDgxUaPJRYKVWwep","docIntroduction-image__clickable":"wSJqOJszSyubtcxe_4EO","docIntroduction-play":"BqcskmNoWTdfnWBCSe1t","image-wrap":"lgXI5VQEzlt5MDNMbQKL","video-wrap":"OBQr4KF7zwvTvo7cjwCf"},ne=e=>{let{data:t,onClickDocIntroBtn:n,onSubBtnClick:a,onImageClick:o,isMobile:r,isIos:i}=e;const s=Boolean(o),{title:l,content:d,button:u,imgSrc:p,buttonType:g,subButton:m,mobileButton:h,downloadButton:_,subDownloadButton:f,mobileDownloadButton:v,videoNode:y}=t,C=y,w=(0,c.useMemo)((()=>"download"===g?"row":"column"),[g]),k=(0,c.useMemo)((()=>"download"===g?(0,L.jsx)("a",{href:_?.href,onClick:_?.onClick,className:te.downloadBtn,rel:"noreferrer",children:(0,L.jsx)("img",{src:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/ios_download_btn.png",alt:"ios icon",className:te.downloadBtnImage,height:"100%",width:"100%"})}):u?.value?(0,L.jsx)(X.Z,{customTheme:y?void 0:"dark",value:u.value,href:u.href,target:"_blank",responsiveSizeRule:!0,className:te.actionBtn,onClick:n}):null),[g,u,_,y]),E=(0,c.useMemo)((()=>"download"===g?(0,L.jsx)("a",{href:f?.href,onClick:f?.onClick,className:te.downloadBtn,rel:"noreferrer",children:(0,L.jsx)("img",{src:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/android_download_btn.png",alt:"android icon",className:te.downloadBtnImage,height:"100%",width:"100%"})}):m?.value?(0,L.jsx)(X.Z,{responsiveSizeRule:!0,customTheme:y?"dark-blur":"light",className:te.actionBtn,icon:!1,value:m.value,href:m.href,target:"_blank",onClick:a}):null),[g,m,f,y]),x=(0,c.useMemo)((()=>"download"===g?(0,L.jsx)("a",{href:v?.href,onClick:v?.onClick,className:te.downloadBtn,rel:"noreferrer",children:i?(0,L.jsx)(L.Fragment,{children:(0,L.jsx)("img",{src:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/ios_download_btn.png",alt:"ios icon",className:te.downloadBtnImage,height:"100%",width:"100%"})}):(0,L.jsx)(L.Fragment,{children:(0,L.jsx)("img",{src:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/android_download_btn.png",alt:"android icon",className:te.downloadBtnImage,height:"100%",width:"100%"})})}):h?.value?(0,L.jsx)(X.Z,{responsiveSizeRule:!0,size:"large",customTheme:"dark",className:j()(te.actionBtn),icon:!1,value:h.value,onClick:h.onClick}):null),[g,h,v]);return(0,L.jsxs)("div",{className:te.docIntroduction,children:[(0,L.jsxs)("div",{className:te["docIntroduction-content"],children:[(0,L.jsx)(Q.n,{value:l,label:Q.J.h1,classNames:[C?te.title:te["title-dark"]]}),(0,L.jsx)($.xv,{value:d,label:$.JG.body2,classNames:[C?te.subTitle:te["subTitle-dark"]]}),u?.value||m?.value?(0,L.jsx)("div",{className:te["docIntroduction-content-button"],children:(0,L.jsxs)("div",{className:te["docIntroduction-content-button-pc"],children:[r?(0,L.jsx)("div",{children:x}):(0,L.jsxs)("div",{className:te["pc-btn-wrap"],style:{flexDirection:w},children:[k,E]}),!r&&u?.label&&(0,L.jsx)($.xv,{classNames:[te["docIntroduction-content-button-subtitle"],C?"":te["docIntroduction-content-button-subtitle-dark"]],label:$.JG.body3,value:u.label}),r&&h?.label&&(0,L.jsx)($.xv,{classNames:[te["docIntroduction-content-button-subtitle"],C?"":te["docIntroduction-content-button-subtitle-dark"]],label:$.JG.body3,value:h.label})]})}):null]}),(0,L.jsx)("div",{className:j()(te["docIntroduction-image"],s?te["docIntroduction-image__clickable"]:""),style:y?{padding:0,width:"50%"}:{},onClick:s&&!y?o:void 0,children:!y&&(0,L.jsxs)(L.Fragment,{children:[s?(0,L.jsx)(b.tYI,{className:te["docIntroduction-play"]}):null,(0,L.jsx)(ee.Z,{style:{width:"100%",aspectRatio:"5/4"},src:p.src,alt:p.alt,responsiveImageWebp:p.webp,imgStyle:{width:"100%",height:"100%"}})]})}),y&&(0,L.jsx)("div",{className:j()(te["video-wrap"]),children:y})]})},ae=[{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u989c\u8272\u8272\u503c",type:"input"},{key:"backgroundCode",label:"\u80cc\u666f\u8272(\u652f\u6301\u6e10\u53d8)",type:"input"},{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"buttonType",label:"\u6309\u94ae\u7c7b\u578b",type:"select",options:[{key:"text",value:"text",label:"\u6587\u5b57\u6309\u94ae"},{key:"download",value:"download",label:"\u4e0b\u8f7d\u6309\u94ae"}]},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonURL",label:"\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"buttonLabel",label:"\u6309\u94ae\u5e95\u90e8\u5c0f\u6807\u9898\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"secondButtonText",label:"\u8f85\u52a9\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"secondButtonURL",label:"\u8f85\u52a9\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"secondButtonAction",label:"\u8f85\u52a9\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"mobileButtonText",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"mobileButtonURL",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"mobileButtonTip",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u64cd\u4f5c\u63d0\u793a",type:"input"},{key:"mobileButtonAction",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"iosDownloadBtnURL",label:"ios\u4e0b\u8f7d\u6309\u94ae\u94fe\u63a5",type:"input",labelTips:"\u57cb\u70b9\u4e0a\u62a5action\u4e3a\u201c\u6309\u94ae\u64cd\u4f5c\u6548\u679c\u201d"},{key:"androidDownloadBtnURL",label:"android\u4e0b\u8f7d\u6309\u94ae\u94fe\u63a5",type:"input",labelTips:"\u57cb\u70b9\u4e0a\u62a5action\u4e3a\u201c\u8f85\u52a9\u6309\u94ae\u64cd\u4f5c\u6548\u679c\u201d"},{key:"mobileDownloadBtnURL",label:"\u79fb\u52a8\u7aef\u4e0b\u8f7d\u6309\u94ae\u94fe\u63a5",type:"input"},{key:"backgroundVideoURL",label:"\u80cc\u666f\u89c6\u9891",type:"video"},{key:"coverURL",label:"\u5c01\u9762\u56fe\u7247",type:"image"},{key:"coverAlt",label:"\u5c01\u9762\u56fe\u7247\u63cf\u8ff0",type:"input",needTranslation:!0},{key:"enableYoutubeModal",label:"\u542f\u7528 Youtube \u89c6\u9891\u5f39\u7a97",type:"switch",labelTips:"\u542f\u7528\u8be5\u914d\u7f6e\u540e\uff0c\u5c01\u9762\u56fe\u7247\u4e0a\u4f1a\u5c55\u793a\u4e00\u4e2a\u64ad\u653e\u6309\u94ae"},{key:"youtubeModalTitle",label:"Youtube \u89c6\u9891\u5f39\u7a97\u6807\u9898",type:"input",labelTips:"\u5f53\u542f\u7528 Youtube \u89c6\u9891\u5f39\u7a97\u540e\uff0c\u8be5\u914d\u7f6e\u6709\u6548",needTranslation:!0},{key:"youtubeModalEmbedCode",label:"Youtube \u89c6\u9891\u5185\u5d4c\u811a\u672c",type:"textarea",labelTips:"\u5f53\u542f\u7528 Youtube \u89c6\u9891\u5f39\u7a97\u540e\uff0c\u8be5\u914d\u7f6e\u6709\u6548"},{key:"youtubeModalFooterText",label:"Youtube \u89c6\u9891\u5f39\u7a97\u5e95\u90e8\u8d85\u94fe\u63a5\u6587\u6848",type:"input",labelTips:"\u5f53\u542f\u7528 Youtube \u89c6\u9891\u5f39\u7a97\u540e\uff0c\u8be5\u914d\u7f6e\u6709\u6548",needTranslation:!0},{key:"youtubeModalFooterHref",label:"Youtube \u89c6\u9891\u5f39\u7a97\u5e95\u90e8\u8d85\u94fe\u63a5",type:"input",labelTips:"\u5f53\u542f\u7528 Youtube \u89c6\u9891\u5f39\u7a97\u540e\uff0c\u8be5\u914d\u7f6e\u6709\u6548"}],oe={gradientColor:"#000000",backgroundCode:"linear-gradient(90deg, #F7FFFF 0%, #C1E5FF 53.7%, #FEC2EC 100%)",title:"Free Online Video Editor",content:"Create engaging videos using CapCut free online video editor for video ads, marketing, and any other commercial needs.",buttonType:"text",buttonText:"Try for free",buttonURL:"https://www.capcut.com/signup",buttonLabel:"No credit card required",buttonAction:"enter_edit_page",secondButtonAction:"sign_up",secondButtonText:"Sign up",secondButtonURL:"https://www.capcut.com/signup",iosDownloadBtnURL:N.Sz,androidDownloadBtnURL:N.f$,mobileDownloadBtnURL:N.hy,backgroundVideoURL:"",coverURL:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/header-image.png",coverAlt:"Free Online Editor",enableYoutubeModal:!0,youtubeModalTitle:"Watch the Video",youtubeModalEmbedCode:'',youtubeModalFooterText:"Try for free",youtubeModalFooterHref:"https://www.capcut.com/editor",mobileButtonText:"Copy Link",mobileButtonURL:"https://www.capcut.com/signup",mobileButtonAction:"copy_link",mobileButtonTip:"Use a PC or laptop to open CapCut online"},re=e=>{const{gradientColor:t,backgroundCode:n,title:a,content:o,backgroundVideoURL:r,buttonType:i,buttonText:s,buttonURL:f,buttonAction:v,buttonLabel:C,secondButtonAction:w,secondButtonText:k,secondButtonURL:T,mobileButtonText:N,mobileButtonAction:R,mobileButtonURL:P,mobileButtonTip:A,iosDownloadBtnURL:j,androidDownloadBtnURL:O,mobileDownloadBtnURL:D,coverAlt:Y,coverURL:V,enableYoutubeModal:K,youtubeModalTitle:X,youtubeModalEmbedCode:Q,youtubeModalFooterHref:$,youtubeModalFooterText:ee,isMobile:te,isIos:ae,originPath:oe,path:re,categoryTitle:ie,headContainer:se,isMapperComp:le}=e,{env:ce}=(0,g.ZJ)(),de=(0,h.Z)(),ue=(0,_.B)(),[pe,ge]=(0,c.useState)(!1),me=`${u.q$.PICTURE}_${a}`,[he,,_e]=(0,S._F)({...e,position:me});const fe=(e,t)=>{(new p.D).report({..._e,action:e||"",action_url:t,article_title:de,article_type:ue,position:me})};const ve=r?(0,L.jsx)("video",{className:W,style:{height:"100%",width:"100%"},loop:!0,muted:!0,preload:"auto",autoPlay:!0,src:r,children:(0,L.jsx)("source",{src:r,type:"video/mp4"})}):null,ye=r?(0,L.jsxs)("div",{style:{height:"100%",width:"100%",position:"relative"},className:z,children:[(0,L.jsx)("div",{style:{position:"absolute",left:0,height:"100%",width:"70%",background:"linear-gradient(89.46deg, rgba(0, 0, 0, 0.7) 0.51%, rgba(0, 0, 0, 0.552658) 60.22%, rgba(0, 0, 0, 0) 99.58%)"}}),ve]}):null,be=(0,c.useMemo)((()=>{const e=x.uL.getPathPrefix(re||""),t=`${oe}${e?`/${e}`:""}`,n=`${oe||""}${re||""}`.replace(t,""),o=[];if(o.push({label:I.ZP.t("web_home_page",{},"Home"),href:t}),ie){var r;const e=E()(r=n.split("/")).call(r,Boolean);o.push({label:ie,href:`${t}/${e?.[0]}`})}return o.push({label:a}),l()(o).call(o,(e=>({...e,href:e.href?(0,m.G)(e.href,{[d.WB.FROM_PAGE]:"article_page",[d.WB.ENTER_FROM]:"navigation_bar",[d.WB.FROM_ARTICLE_URL_PATH]:re||""}):void 0})))}),[re,oe,ie,a]);return(0,L.jsxs)(J,{style:{padding:0},containerBodyStyle:{maxWidth:1520},backgroundCode:n,coverNode:ye,gradient:{color:t},ref:he,children:[!le&&(0,L.jsx)(M,{className:q,headContainer:se,origin:oe,path:re,items:be}),(0,L.jsx)(ne,{data:{title:a,content:o,buttonType:i,button:{value:s,href:(0,m.G)(f,{[d.WB.ENTER_FROM]:me,[d.WB.POSTION]:decodeURIComponent(a),[d.WB.ARTICLE_TITLE]:de,[d.WB.ARTICLE_TYPE]:ue,[d.WB.DEFAULT]:me,[d.WB.FROM_PAGE]:"article_page"}),label:C},subButton:{value:k,href:(0,m.G)(T||"",{[d.WB.ENTER_FROM]:me,[d.WB.POSTION]:decodeURIComponent(a),[d.WB.ARTICLE_TITLE]:de,[d.WB.ARTICLE_TYPE]:ue,[d.WB.DEFAULT]:me,[d.WB.FROM_PAGE]:"article_page"})},mobileButton:{value:N,onClick:()=>{(new p.D).report({..._e,action:R||"",action_url:P,article_title:de,article_type:ue,position:me}),(new B.eG).reportForArticlePageButton(R||"",{..._e,position:`${u.q$.PICTURE}_${a}`,current_page:d.WB.PAGE_ARTICLE}),"copy_link"===R?navigator.clipboard.writeText(P||""):window.open(P)},label:A},downloadButton:{href:j,onClick:()=>{fe(v,j)}},subDownloadButton:{href:O,onClick:()=>{fe(w,O)}},mobileDownloadButton:{href:D,onClick:()=>{fe(ae?"app_store":"google_play",D)}},imgSrc:{src:V,webp:V,alt:Y},videoNode:ve},isMobile:te,isIos:ae,onClickDocIntroBtn:function(){(new p.D).report({..._e,action:v||"",action_url:f,article_title:de,article_type:ue,position:me})},onSubBtnClick:function(){(new p.D).report({..._e,action:w||"",action_url:T,article_title:de,article_type:ue,position:me})},onImageClick:K?function(){K&&ge(!0)}:void 0}),K&&"pc"===ce?(0,L.jsx)(F.Z,{className:G,visible:pe,onCancel:()=>ge(!1),title:X,style:{width:"max-content"},footer:(0,L.jsx)(U.Z,{type:"primary",href:(0,m.G)($,{[d.WB.ARTICLE_TITLE]:de,[d.WB.ARTICLE_TYPE]:ue,[d.WB.DEFAULT]:"article_page"}),target:"_blank",children:ee}),unmountOnExit:!0,children:Q?(0,y.ZP)(Q):""}):null,K&&"mobile"===ce?(0,L.jsx)(F.Z,{visible:pe,onCancel:()=>ge(!1),modalRender:()=>(0,L.jsxs)("div",{className:Z,children:[(0,L.jsx)(b.bMz,{className:H,onClick:()=>ge(!1)}),Q?(0,y.ZP)(Q):""]}),unmountOnExit:!0}):null]})},ie="Cd29JXuTVjxKAflGhk5o",se="iBMN07590OgDbrvQqGr8",le="OozJRnAYK9wT8M8jPOp_";var ce=n(77313);const de=e=>{const{gradientColor:t,title:n,content:a,buttonText:o,buttonURL:r,buttonLabel:i,coverURL:s,coverAlt:l,enableYoutubeModal:k,youtubeModalTitle:E,youtubeModalEmbedCode:x,youtubeModalFooterText:I,youtubeModalFooterHref:T,path:N}=e,R=(0,ce.zA)(N||""),[P,A]=(0,c.useState)(!1),{env:j}=(0,g.ZJ)(),O=(0,h.Z)(),D=(0,_.B)(),M=`${u.q$.PICTURE}_${n}`,[F,,U]=(0,S._F)({...e,position:M});return R?(0,L.jsxs)(C.Z,{gradient:{color:t},ref:F,children:[(0,L.jsx)(w.m,{data:{title:n,content:a,button:{value:o,href:(0,m.G)(r,{[d.WB.ENTER_FROM]:M,[d.WB.POSTION]:decodeURIComponent(n),[d.WB.ARTICLE_TITLE]:O,[d.WB.ARTICLE_TYPE]:D,[d.WB.DEFAULT]:"article_page"}),label:i},imgSrc:{src:s,webp:s,alt:l}},onClickDocIntroBtn:function(){(new p.D).report({...U,action:"enter_edit_page",article_title:O,article_type:D,position:M})},onImageClick:k?function(){k&&A(!0)}:void 0}),k&&"pc"===j?(0,L.jsx)(f.Z,{className:ie,visible:P,onCancel:()=>A(!1),title:E,style:{width:"max-content"},footer:(0,L.jsx)(v.Z,{type:"primary",href:(0,m.G)(T,{[d.WB.ARTICLE_TITLE]:O,[d.WB.ARTICLE_TYPE]:D,[d.WB.DEFAULT]:"article_page"}),target:"_blank",children:I}),unmountOnExit:!0,children:x?(0,y.ZP)(x):""}):null,k&&"mobile"===j?(0,L.jsx)(f.Z,{visible:P,onCancel:()=>A(!1),modalRender:()=>(0,L.jsxs)("div",{className:se,children:[(0,L.jsx)(b.bMz,{className:le,onClick:()=>A(!1)}),x?(0,y.ZP)(x):""]}),unmountOnExit:!0}):null]}):(0,L.jsx)(re,{...e,buttonAction:"enter_edit_page",isMapperComp:!0})};var ue=n(49980);const pe="m1KA1OmPMe3JOCWjAlwF",ge=[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u989c\u8272\u8272\u503c",type:"input"},{key:"backgroundCode",label:"\u80cc\u666f\u8272(\u652f\u6301\u6e10\u53d8)",type:"input"},{key:"items",label:"\u6b63\u6587\u5757",type:"list",formList:[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"titleIcon",label:"\u6b63\u6587\u56fe\u6807",type:"image"},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"coverURL",label:"\u5c01\u9762\u56fe\u7247",type:"image"},{key:"coverAlt",label:"\u56fe\u7247alt",type:"input"},{key:"buttonText",label:"\u6309\u94ae\u6807\u9898",type:"input",needTranslation:!0},{key:"buttonUrl",label:"\u6309\u94ae\u94fe\u63a5",type:"input"},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv}]}],me=e=>{const{items:t,gradientColor:n,backgroundCode:a,title:o}=e,[r]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${l()(t).call(t,(e=>e.title)).join(",")||"toolScene"}`});return(0,L.jsxs)(J,{gradient:{color:n,childrenLength:t.length},backgroundCode:a,ref:r,children:[o&&(0,L.jsx)(Q.n,{label:Q.J.h2,value:o,classNames:[pe]}),(0,L.jsx)(ue.x,{restProps:e,data:{items:l()(t).call(t,(e=>({title:{value:e.title},content:e.content,imgSrc:{alt:e.coverAlt,src:e.coverURL,webp:e.coverURL},button:{buttonText:e.buttonText,buttonUrl:e.buttonUrl,buttonAction:e.buttonAction}})))}})]})},he={title:"Enterprise-level online video editing",content:"Designed for collaboration and built for professionalism, Capcut offers you and your team all you need to make pro-tier videos that can be posted across a wide range of media channels and platforms.\nIt\u2019s no secret that video is the most engaging form of content. But it\u2019s often been considered the most time-consuming and difficult to make. While video editors may still play an integral role in your team, Capcut streamlines processes even further, frees up the world of video to just about anyone, and promotes an online collaborative approach that was simply not possible before the way it is now. ",coverURL:"https://iph.href.lu/463x463?text=Tool%20Description%20Cover&fg=666666&bg=cccccc"},_e=e=>(0,L.jsx)(me,{...e,title:"",items:[{...e,titleIcon:"",buttonAction:"app_store",buttonText:"",buttonUrl:""}],gradientColor:""});var fe=n(17630),ve=n.n(fe);const ye="b91ydFaDPgTQkRtmjwRA",be="dqhIVZIPVzUV0vSj7J6V",Ce="DMxK1zd_pNRl505A7zKe",we="V2GsW78eMgCL42HTwaS_",ke="L9ZoXrIQdxWjmYBV282Q",Ee="su17k2xRqC9aaZXudwPI",xe="pZgDiweOJfWcHQEYbRdX",Ie="EcL6yChB_XKhdjrZ9iQh",Te="zWEjEat48DQdTm0lu9a7",Ne="VYplasPeuw9Pjnl5Q0Ot",Se="ndDsRFoR0tecH23Ef_Se",Re="EnuDVbnKiYeu9624U3yJ",Pe="BabtjOiEaLZIt9UmGphD",Ae="prq57vcZub4ddj7d_Gvf",je="H766PpatLzfPVYkF6HE7",Le="JGT_OfAJRjTG65WFw6U5",Oe="G4KH1b982RYBN3kU3hOa";var De;!function(e){e.ImageR="imageR",e.ImageL="imageL"}(De||(De={}));const Me=[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u989c\u8272\u8272\u503c",type:"input"},{key:"backgroundCode",label:"\u80cc\u666f\u8272(\u652f\u6301\u6e10\u53d8)",type:"input"},{key:"features",label:"\u529f\u80fd\u5757",type:"list",formList:[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"titleIcon",label:"\u6b63\u6587\u56fe\u6807",type:"image"},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"coverURL",label:"\u5c01\u9762\u56fe\u7247",type:"image"},{key:"coverAlt",label:"\u56fe\u7247alt",type:"input"}]},{key:"buttonText",label:"\u6309\u94ae\u6807\u9898",type:"input",needTranslation:!0},{key:"buttonUrl",label:"\u6309\u94ae\u94fe\u63a5",type:"input"},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"layout",label:"\u5e03\u5c40",type:"select",options:[{label:"\u5de6\u6587\u53f3\u56fe",value:De.ImageR,key:De.ImageR},{label:"\u5de6\u56fe\u53f3\u6587",value:De.ImageL,key:De.ImageL}]},{key:"interval",label:"\u8f6e\u64ad\u95f4\u9694",type:"input"}],Fe=e=>{let{content:t,active:n}=e;const a=(0,c.useRef)(null),[o,r]=(0,c.useState)(500);return(0,c.useEffect)((()=>{if(a.current){const{height:e}=a.current.getBoundingClientRect();r(e)}}),[]),(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)($.xv,{label:$.JG.body2,value:t,ref:a,style:{position:"absolute",opacity:0}}),(0,L.jsx)($.xv,{label:$.JG.body2,value:t,style:n?{maxHeight:o}:{},classNames:[Pe]})]})},Ue={title:"Create Videos with Powerful Features",gradientColor:"#ffffff",backgroundCode:"",features:[{title:"Speech to text",titleIcon:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/auto_subtitles.png",content:"Use artificial intelligence to generate your subtitles with near perfect accuracy.",coverURL:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/feature_list_cover.png",coverAlt:""},{title:"Text to speech",titleIcon:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/text_reading.png",content:"Use artificial intelligence to generate your subtitles with near perfect accuracy.",coverURL:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/feature_list_cover.png",coverAlt:""}],buttonText:"Try for free",buttonUrl:"https://www.capcut.com/",buttonAction:"enter_edit_page",layout:De.ImageR,interval:3e3},Be=e=>{const{gradientColor:t,backgroundCode:n,features:a,buttonAction:o,buttonText:r,buttonUrl:i,layout:s,title:g,interval:h=Ue.interval}=e,_=`${u.q$.PICTURE}_${g}`,[f,,v]=(0,S._F)(e),[y,b]=(0,c.useState)(0),C=(0,c.useRef)(y),w=(0,c.useRef)(!1);C.current=y,(0,c.useEffect)((()=>{const e=ve()((()=>{w.current||b((C.current+1)%a.length)}),h);return()=>{window.clearInterval(e)}}),[a.length,h]);const k=a[y]||{},E=()=>{w.current=!1};return(0,L.jsx)(J,{className:je,backgroundCode:n,gradient:{color:t},ref:f,children:(0,L.jsx)("article",{className:ye,children:(0,L.jsxs)("div",{className:j()({[Te]:!0,[Ae]:s===De.ImageL}),children:[(0,L.jsxs)("div",{className:Ne,children:[(0,L.jsx)(Q.n,{label:Q.J.h2,value:g,classNames:[Le]}),(0,L.jsx)("div",{className:ke,children:l()(a).call(a,((e,t)=>(0,L.jsxs)("div",{className:j()({[Ee]:t===y,[Ce]:!0}),onMouseEnter:()=>(e=>{b(e),w.current=!0})(t),onMouseLeave:E,children:[(0,L.jsx)("div",{className:we,children:(0,L.jsx)("img",{src:e.coverURL,alt:e.title})}),(0,L.jsxs)("div",{className:Se,children:[(0,L.jsx)("div",{className:xe,children:e.titleIcon?(0,L.jsx)("img",{src:e.titleIcon,height:"100%",width:"100%",alt:e.coverAlt||e.title}):(0,L.jsx)("div",{className:Ie})}),(0,L.jsxs)("div",{style:{flex:1,position:"relative"},children:[(0,L.jsx)($.xv,{label:$.JG.body1,value:e.title,classNames:[Re]}),e.content&&(0,L.jsx)(Fe,{content:e.content,active:t===y})]})]})]},e.title+t)))}),r&&(0,L.jsx)("div",{className:Oe,children:(0,L.jsx)(X.Z,{size:"large",responsiveSizeRule:!0,onClick:()=>{(new p.D).report({...v,position:_,action:o,action_url:i}),(new B.eG).reportForArticlePageButton(o,{...v,position:_,current_page:d.WB.PAGE_ARTICLE});const e=(0,m.G)(i,{[d.WB.ENTER_FROM]:_,[d.WB.FROM_PAGE]:"article_page"});window.open(e)},value:r,iconInline:!0,customTheme:"dark"})})]}),(0,L.jsx)("div",{className:be,children:(0,L.jsx)(ee.Z,{src:k.coverURL,imgStyle:{width:"100%",borderRadius:"16px"},style:{width:"100%"},alt:k.title})})]})})})};var We=n(44095);const Ge=e=>{const{title:t,items:n}=e,[a]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${t}`});return(0,L.jsx)(C.Z,{ref:a,children:(0,L.jsx)(We.V,{data:{title:t,items:l()(n).call(n,(e=>({title:e.title,content:e.content,imgSrc:{src:e.coverURL,webp:e.coverURL}})))}})})};var Ze=n(9887),He=n.n(Ze),ze=n(52522),qe=n(43194);const Ye="i9X6SzhFc_Z7D86YcK6h",Ve=e=>{const{headContainer:t,title:n,items:a,backgroundColor:o="#fff"}=e,[r]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${n}`}),i=(()=>{const e=[];return He()(a).call(a,(t=>{if(t.title&&e.push({title:t.title,contents:t.content?[{subTitle:t.subTitle??"",subContent:t.content}]:[]}),!t.title&&e.length>0){const n=e[e.length-1];n.contents=[...n.contents??[],{subTitle:t.subTitle??"",subContent:t.content}]}})),e})(),s=l()(i).call(i,(e=>({questionName:e.title,acceptedAnswerText:e.contents?.reduce(((e,t)=>(e+=t.subTitle??"",e+=t.subContent??"")),"")??""})));return(0,L.jsxs)(L.Fragment,{children:[t?(0,L.jsx)(P.UI,{headContainer:t,mainEntity:s}):null,(0,L.jsx)(J,{style:{backgroundColor:o,width:"auto"},ref:r,children:(0,L.jsx)(qe.O,{data:{title:{value:n,exact:(0,L.jsx)(b.vJ4,{className:Ye,fill:"rgba(0, 198, 217, 1)"})},items:i}})})]})},Ke="A5gADPBfEYVZL23Z2ZB0",Je=e=>{const{headContainer:t,title:n,items:a,gradientColor:o,path:r}=e,[i]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${n}`});if(r?.split("/").some((e=>"tools"===e)))return(0,L.jsx)(Ve,{...e});const s=(()=>{const e=[];return He()(a).call(a,(t=>{if(t.title&&e.push({title:t.title,contents:t.content?[{subTitle:t.subTitle??"",subContent:t.content}]:[]}),!t.title&&e.length>0){const n=e[e.length-1];n.contents=[...n.contents??[],{subTitle:t.subTitle??"",subContent:t.content}]}})),e})(),c=l()(s).call(s,(e=>({questionName:e.title,acceptedAnswerText:e.contents?.reduce(((e,t)=>(e+=t.subTitle??"",e+=t.subContent??"")),"")??""})));return(0,L.jsxs)(L.Fragment,{children:[t?(0,L.jsx)(P.UI,{headContainer:t,mainEntity:c}):null,(0,L.jsx)(C.Z,{gradient:{color:o},ref:i,children:(0,L.jsx)(ze.Q,{data:{title:{value:n,exact:(0,L.jsx)(b.vJ4,{className:Ke,fill:"rgba(0, 198, 217, 1)"})},items:s}})})]})};var Xe=n(20061);var Qe=n(97557),$e=n.n(Qe),et=n(87322),tt=n(69106),nt=n(91735);const at="sU6RNQ52NMGPmJkYdkF0",ot="r7DSFsmjFJwDDFsWwiS0",rt="q10cDWd39ypD0FoR7qzL",it="k1xJWq8xOcR2Ybx7jZ0g",st="blvgFKxspGtORNKWe6CQ",lt="DhEVoqPYyUQEL3bmIsZl",ct="IjTPSdLA7uK3rzYYfVH4",dt="XmFzSTIWYnMpSkikS9H4",ut="NVPF2sfsFPxB17d5TJn2",pt="gw7NwPTqiQvFBHu_CY8t",gt="pfgJcofxNUjy1vwqbSbG",mt="M7F11sEZEFMioM288kk2",ht="QXhBcr6nWmF6t5iSr6GT",_t="iNveOP6vNronWoXSkUZJ",ft="tjm7m6t2MtyIoe3id0QP",vt="Dfuf4haqOacPXjEs_JIT",yt="StSIy705QH9DF5V8mZL1",bt="RT6X8BoAkZheuIRvnFCX",Ct="ABf9U0J0Jhi93OrB48OO",wt="GSa6310E3PfbzrrToJNe",kt=[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"backgroundCode",label:"\u80cc\u666f\u8272(\u652f\u6301\u6e10\u53d8)",type:"input"},{key:"subTitle",label:"\u526f\u6807\u9898",type:"input",needTranslation:!0},{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u989c\u8272\u8272\u503c",type:"input"},{key:"features",label:"features \u5217\u8868",type:"list",formList:[{key:"imageUrl",label:"\u4ecb\u7ecd\u56fe\u7247",type:"image"},{key:"imageAlt",label:"\u56fe\u7247alt",type:"input"},{key:"title",label:"\u4ecb\u7ecd\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"url",label:"\u8df3\u8f6cURL",type:"input"}]},{key:"buttonText",label:"\u6309\u94ae\u6807\u9898",type:"input",needTranslation:!0},{key:"buttonUrl",label:"\u6309\u94ae\u94fe\u63a5",type:"input"},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv}],Et=(e,t)=>e-t>=1,xt=e=>{const{title:t,features:n=[],subTitle:a,buttonAction:o="enter_edit_page",buttonText:r,buttonUrl:i,gradientColor:s="rgba(224, 255, 159, 0.5)",path:g,cardEnterFrom:h="scene",backgroundCode:_}=e,[f,v]=(0,c.useState)(0),[y,C]=(0,c.useState)(270),[w,k]=(0,c.useState)(30),[E,x]=(0,tt.Z)(),[I,T]=(0,c.useState)(!1),[N,R]=(0,c.useState)(!1),P=`${u.q$.PICTURE}_${t}`,[A,,O]=(0,S._F)({...e,position:P});(0,c.useEffect)((()=>{const e=()=>{const e=A.current.querySelector(".content-card");if(R(Et(E.current?.scrollWidth||0,E.current?.getBoundingClientRect().width||0)),e){const{width:t}=e.getBoundingClientRect(),n=$e()(getComputedStyle(e).marginRight,10);C(t),k(n||30)}};return window.addEventListener("resize",e),e(),()=>{window.removeEventListener("resize",e)}}),[E,A]);const D=async e=>{const t=(-e-E.current.scrollLeft)/20;for(let n=0;n<20;n++)E.current.scrollLeft+=t,await(0,et._)(5)};(0,c.useEffect)((()=>{const{width:e}=x,t=E.current?.scrollWidth||0;T(Et(t,e-f))}),[E,f,x]);const M=(0,c.useMemo)((()=>f<0),[f]);(0,c.useEffect)((()=>{const e=e=>{v(-(e.target?.scrollLeft||0))};return E.current?.addEventListener("scroll",e),()=>{E.current?.removeEventListener("scroll",e)}}),[E]);return(0,L.jsxs)(J,{ref:A,style:{paddingLeft:0,paddingRight:0},containerBodyStyle:{maxWidth:"unset"},gradient:{color:s,childrenLength:n.length},backgroundCode:_,className:j()({[at]:!0}),children:[(0,L.jsxs)("div",{className:lt,children:[(0,L.jsx)(Q.n,{label:Q.J.h2,value:t,classNames:[ct]}),(0,L.jsx)($.xv,{value:a,label:$.JG.body2,classNames:[dt]})]}),(0,L.jsxs)("div",{className:ut,children:[M&&(0,L.jsx)(nt.Z,{className:pt,onClick:()=>{const e=E.current?.getBoundingClientRect().width||0,t=(y+w)*(0===e?3:Math.floor(e/(y+w)));v((e=>{const n=Math.min(e+t,0);return D(n),n}))},children:(0,L.jsx)(b.ezc,{fill:"currentColor",stroke:"currentColor"})}),I&&(0,L.jsx)(nt.Z,{className:gt,onClick:()=>{const e=E.current?.getBoundingClientRect().width||0,t=(y+w)*(0===e?3:Math.floor(e/(y+w)));v((e=>{const n=e-t;return D(n),n}))},children:(0,L.jsx)(b.Gjh,{fill:"currentColor",stroke:"currentColor"})}),(0,L.jsx)("div",{className:mt,ref:E,style:{transition:"transform .2s",justifyContent:N?"unset":"center"},children:l()(n).call(n,(e=>(0,L.jsxs)("div",{className:j()({"content-card":!0,[ht]:!0,[e.url?ot:rt]:!0}),onClick:()=>(e=>{e.url&&((new p.D).report({...O,position:P,action:"enter_article_page"}),window.open((0,m.G)(e.url,{[d.WB.ARTICLE_TITLE]:O?.article_title||"",[d.WB.ARTICLE_TYPE]:O?.article_type||"",[d.WB.DEFAULT]:"article_page",[d.WB.ENTER_FROM]:h,[d.WB.FROM_PAGE]:"article_page",[d.WB.FROM_ARTICLE_URL_PATH]:g||""})))})(e),children:[e.url&&(0,L.jsx)("div",{className:_t,children:(0,L.jsx)(b.Gjh,{style:{fontSize:24,color:"#ffffff"}})}),(0,L.jsx)("div",{className:j()({[ft]:!0,[it]:!0,[vt]:Boolean(e.url)}),children:(0,L.jsx)("img",{src:e.imageUrl,loading:"lazy",alt:e.imageAlt||e.title,style:{objectFit:"cover"}})}),(0,L.jsx)($.xv,{label:$.JG.body1,value:e.title,classNames:[yt,e.url?"":st]}),(0,L.jsx)($.xv,{label:$.JG.body2,value:e.content,classNames:[bt,e.url?"":st]})]},e.title)))})]}),r&&(0,L.jsx)("div",{className:Ct,children:(0,L.jsx)(X.Z,{responsiveSizeRule:!0,iconInline:!0,className:wt,type:"primary",size:"large",onClick:()=>{(new p.D).report({...O,position:P,action:o,action_url:i}),(new B.eG).reportForArticlePageButton(o,{...O,position:P,current_page:d.WB.PAGE_ARTICLE});const e=i?(0,m.G)(i,{[d.WB.ENTER_FROM]:P,[d.WB.FROM_PAGE]:"article_page"}):"";window.open(e)},value:r,customTheme:"dark"})})]})},It=e=>{const t=(e=>{var t;return{...e,title:e.title,subTitle:"",features:l()(t=e.array).call(t,(e=>({url:e.href,imageUrl:e.imageSrc,...e})))}})(e);return(0,L.jsx)(xt,{cardEnterFrom:"relate_recommend",...t})};var Tt=n(52876),Nt=n.n(Tt);const St="Xmu8MRvtzW7ueeDo796Q",Rt="d0TRWxMG5xS7OHhAX64f",Pt="TsOUBE41TAtmaHvv_MNo",At="iG8hgkYcHvQNlkeP66RP",jt="JZnJoJS39Uaycf2QFkRJ",Lt="fnEfebiwcCmrEvGG8K2D",Ot="c7eqaONHUVJJqe4VV3_4",Dt="m0txTlCw_q2dQ9Duun8g",Mt=e=>{let{comment:t,avatar:n,avatarImageAlt:a,userName:o,date:r,background:i}=e;return(0,L.jsxs)("div",{style:{background:i},className:j()(jt),children:[(0,L.jsx)("img",{src:n,className:j()(Lt),alt:a||o,height:80,width:80}),(0,L.jsxs)("div",{className:j()(Dt),children:[(0,L.jsx)($.xv,{classNames:[Ot],value:t,label:$.JG.body2}),(0,L.jsxs)("div",{children:[(0,L.jsx)($.xv,{style:{color:"#16161D"},value:o,label:$.JG.body3,tagType:$.Qy.span}),(0,L.jsx)($.xv,{style:{color:"#757580"},value:` \u2022 ${r}`,label:$.JG.body3,tagType:$.Qy.span})]})]})]})},Ft="EHixN0MEP9ICaiQGyKoh",Ut="iNNjGMuYPtqE5gxRHHnw",Bt=e=>{let{renderScrollContent:t,direction:n="normal",duration:a=12}=e;return(0,L.jsx)("div",{className:Ft,children:(0,L.jsx)("div",{style:{animationDirection:n,animationDuration:`${a}s`},className:Ut,children:t()})})},Wt=e=>{const{title:t,list:n,backgroundColor:a,duration:o,cardBackgroundColor:r}=e,[i]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${t}`}),s=Nt()(n).call(n,0,Math.floor(n.length/2)),d=Nt()(n).call(n,Math.floor(n.length/2));return(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)(J,{style:{backgroundColor:a},className:St,ref:i,children:[(0,L.jsx)(Q.n,{classNames:[Pt],value:t}),(0,L.jsxs)("div",{className:Rt,children:[(0,L.jsx)(Bt,{renderScrollContent:()=>(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)("div",{className:At,children:l()(s).call(s,(e=>(0,c.createElement)(Mt,{...e,key:e.userName,background:r})))}),(0,L.jsx)("div",{className:At,children:l()(s).call(s,(e=>(0,c.createElement)(Mt,{...e,key:e.userName,background:r})))})]}),direction:"normal",duration:s.length*o}),(0,L.jsx)(Bt,{renderScrollContent:()=>(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)("div",{className:At,children:l()(d).call(d,(e=>(0,c.createElement)(Mt,{...e,key:e.userName,background:r})))}),(0,L.jsx)("div",{className:At,children:l()(d).call(d,(e=>(0,c.createElement)(Mt,{...e,key:e.userName,background:r})))})]}),direction:"reverse",duration:d.length*o})]})]})})},Gt="FoWLc8truZQPdnpsiHZC",Zt="F8s4eyAC_VT4ptFp4Fgw",Ht="mYB0Nc5NmAvEoq0pnax5",zt="ted8N76gVcgUI20SLHWj",qt="kbCHCq2IGpmyIpMbZMhu",Yt="m46oY_kdWPbcpXL7H6lf",Vt="WNw71wHweVtCExpLBI_T",Kt="IQm0tufLEFi_Gftlrlkz",Jt="Fb0skBHOC9Ewc8Pb30Ts",Xt="eCh1FD6J731wwHb7q_Bp",Qt="RM2phew4l9vjl5XeC1Xr",$t="EKt2abg4_XPpvDTgzLrK",en=[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"backgroundCode",label:"\u80cc\u666f\u8272(\u652f\u6301\u6e10\u53d8)",type:"input"},{key:"relatedRecomends",label:"\u76f8\u5173\u63a8\u8350",type:"list",formList:[{key:"content",label:"\u76f8\u5173\u63a8\u8350",type:"input"}]},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonUrl",label:"\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv}],tn="Q2FBGdu1A0zQX8Jt2OYg",nn="n6SBINDl8dYfhvedlbyX",an="zOC7Sly_SwlUjzbGcmyA",on="W8jjy1dM5msajSNgp64Q",rn="MomK9a3zmjwtiMUzH9nr",sn="asL8ho2u2kTmwaTet2AP",ln="LNK4YhPaSVDMtA719fCi",cn="hk8MBGWILTMrkQLCssiG",dn="gpsuZjU8wdg4WS4Tk9yH",un="Zox62DHUTIPycBJ4afrH",pn=[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonURL",label:"\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"buttonLabel",label:"\u6309\u94ae\u5e95\u90e8\u5c0f\u6807\u9898\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"coverURL",label:"\u5c01\u9762\u56fe\u7247",type:"image"}],gn=e=>{const{title:t,content:n,buttonText:a,buttonURL:o,buttonLabel:r,coverURL:i,buttonAction:s="enter_edit_page",path:l}=e,c=(0,h.Z)(),g=(0,_.B)(),m=(0,ce.zA)(l||""),[f,,y]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${t}`});const b={...e,gradientColor:"",coverAlt:e.title,enableYoutubeModal:!1,youtubeModalTitle:"",youtubeModalEmbedCode:"",youtubeModalFooterText:"",youtubeModalFooterHref:""};return m?(0,L.jsxs)("div",{className:tn,ref:f,children:[(0,L.jsxs)("div",{className:nn,children:[(0,L.jsx)("h1",{className:on,children:t}),(0,L.jsx)("p",{className:sn,children:n}),(0,L.jsx)(v.Z,{className:ln,type:"primary",href:o,target:"_blank",onClick:function(){(new p.D).report({...y,action:s,action_url:o,position:`${u.q$.PICTURE}_${t}`,article_title:c,article_type:g}),(new B.eG).reportForArticlePageButton(s,{...y,position:`${u.q$.PICTURE}_${t}`,current_page:d.WB.PAGE_ARTICLE})},children:a}),(0,L.jsx)("p",{className:cn,children:r})]}),(0,L.jsx)("div",{className:un}),(0,L.jsx)("div",{className:an,children:(0,L.jsx)("img",{className:dn,src:i,alt:t})}),(0,L.jsx)("h1",{className:rn,children:t})]}):(0,L.jsx)(re,{...b,isMapperComp:!0})},mn="vkExrhifuKwSfeOp7rww",hn="UEq66mTM58k6t8MSeFFI",_n="kRTu9IjfebPD8XkENA7E",fn="Q9ILFhZnDifDb4pwnAfR",vn="oIdWg1X4axFMsKPY6zbj",yn="gL78JlDs3keFJFrpYj9Y",bn="IXAUM238fTouDtxWmdPw",Cn="CT1KPpNQz2K3FN5l9Ypd";var wn=n(61390),kn=n(41723),En=n.n(kn);const xn={"resource_banner-container":"yiwLGV_j8cEjthCurJ3P",article_info:"rBVzvrgcAvMm_9nk10rn",creator_and_time:"Ug4WjUvkzLaCVP_ggmDl",time_info_divider:"lo0DcWEoiBJvqdfomWVF",breadbrumb:"SCVnhfvBMqJLQftMIhf4",title:"bCQZAlhOxHp6TF1EZ6Ym",creator_container:"f7f1MDzWx8EUC2lDU0L_",creator_name:"py6TcgcSAreWF9ntcyt0",creator_img:"rLz8Q8wHQTsv7f6edW8U",article_publish_time:"g8pIYM8dNA7xamlELPw9",article_time_info:"dwBqtRq8oHILs_SIYX6X","readtime-container":"dhfXRTaVjl1LcPWroYk6","readtime-icon":"DxF9XjIXSZy59wYokyO9",hasBreadcrumb:"WqOk0jHoKwf4mq1DX8kN",dark:"IJUtCrbe04dEF2OceOaL"},In="vBet_Il3tmebqt20BPiI",Tn="_vruT4__TUa1CNQJvIUj",Nn="mSvj6xKWaIREr9ridp7G",Sn="yPIa8Hna1FeyuuhvNg55",Rn="dWzN1adxcI1umpUxM_9m",Pn="xZUrrUromKsqrX9GP1PE",An="dnPH7IKjmxZG_Qrf0jDA",jn="_6SbdT2KQyKJJviFs0bg",Ln="CBWJpSY_XErI9UOQ4U5l",On="S8dc9rzMNXhPjuisqJuA",Dn="G9fe3MPTZ6lydHRgzMDR",Mn="SJGyzGPvtfqfbQKzo8Jw",Fn="yGSOk_tBNlWtg2h4AmuI",Un="fzj4xBMeQSfFCOv7KsU8",Bn="mA2AkGQ5yFQqX63gEIoo",Wn="n2S_vlzya2jbrYjkCgJR",Gn="svvJnAKrXdTx8kyafc2w",Zn="e1LiLd3aDtN_OWNPs6Gs",Hn="LTPnGfu5A4G4ldltCnrF",zn="PRdaCeHTbhQ6ttX7ognV",qn="mxN_YykB0GnInQfOYebN",Yn="UdMQfADGbBf_YfI79Ccz",Vn="k6oZKCIKPRGQ4pexOKtn",Kn="tGAlAixza6bSr8Ay2KLb",Jn="DXhdKwwk50iXvsAaFz2O",Xn="ZCi6CNPRLD4iIddDCdZA",Qn="PQRVzVPfhPC6a1_JNMSD",$n="Bp_oZypEMAhOgX3re3fp",ea="Q6oKAcfx3oH2JWcymDZQ",ta="uznme2dqkogWsl3xPwtQ",na=e=>{let{title:t,desc:n,imgSrc:a,imgAlt:o,background:r,index:i}=e;return(0,L.jsxs)("div",{style:{backgroundColor:r},className:Jn,children:[(0,L.jsxs)("div",{className:Qn,children:[(0,L.jsx)("img",{src:a,className:Xn,alt:o||t,width:64,height:64}),(0,L.jsx)("div",{className:$n,children:`0${i}`})]}),(0,L.jsx)($.xv,{label:$.JG.body1,classNames:[ea],value:t}),(0,L.jsx)($.xv,{label:$.JG.body2,classNames:[ta],value:n})]})},aa="gGeqwkhDsHHq1fugaD30",oa="olUUcbdIW5BBGsFSdgkg",ra="Bj0gBYohfh8FMW2PgyF2",ia="Z0MMfNWmoArYsXMOxQQ8",sa="TeHcSubZlxc7Ja9e_JGr",la="ndEBXPPBDnNWlWRUofOD",ca=e=>{let{title:t,desc:n,imgSrc:a,imgAlt:o,background:r,index:i}=e;return(0,L.jsxs)("div",{style:{backgroundColor:r},className:aa,children:[(0,L.jsx)("div",{className:oa,children:i}),(0,L.jsxs)("div",{className:ra,children:[(0,L.jsx)($.xv,{label:$.JG.body1,classNames:[sa],value:t}),(0,L.jsx)($.xv,{label:$.JG.body2,classNames:[la],value:n})]}),(0,L.jsx)("img",{src:a,className:ia,alt:o||t,width:420,height:280})]})},da="qlYP0njPefmsJdtKv5mg",ua=e=>{let{children:t}=e;return(0,L.jsx)("div",{className:da,children:t})};var pa=n(22169);const ga={"create_step-container":"XC1zDJxNt6TYTXkwfdkf","create_step-title":"eVQTHqYOMPu97QtsrsP5","create_step-btn":"mBU7iHj4dLgatfkaHLCf","create_step-btn-wrapper":"QHom33WEu2k5OELVXFKd"},ma=[{key:"backgroundColor",label:"\u80cc\u666f\u989c\u8272",type:"input"},{key:"title",label:"\u6807\u9898",type:"input",needTranslation:!0},{key:"mode",label:"\u663e\u793a\u6a21\u5f0f",type:"select",options:[{key:"icon",value:"icon",label:"\u56fe\u6807\u6a21\u5f0f"},{key:"image",value:"image",label:"\u56fe\u7247\u6a21\u5f0f"}]},{key:"list",label:"\u6b65\u9aa4",type:"list",formList:[{key:"imgSrc",label:"\u6b65\u9aa4\u56fe\u7247",type:"image"},{key:"imgAlt",label:"\u6b65\u9aa4\u56fe\u7247\u63cf\u8ff0",type:"input",needTranslation:!0},{key:"title",label:"\u6b65\u9aa4\u540d\u79f0",type:"input",needTranslation:!0},{key:"desc",label:"\u6b65\u9aa4\u4ecb\u7ecd",type:"input",needTranslation:!0},{key:"background",label:"\u6b65\u9aa4\u80cc\u666f\u8272",type:"input"}]},{key:"buttonDisplay",label:"\u6309\u94ae\u662f\u5426\u663e\u793a",type:"select",options:[{key:"show",value:"show",label:"\u663e\u793a\u6309\u94ae"},{key:"hide",value:"hide",label:"\u9690\u85cf\u6309\u94ae"}]},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonUrl",label:"\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv}],ha=e=>{const{mode:t}=e||{};return"icon"===t?(0,L.jsx)(na,{...(0,pa.omit)(e,"mode")}):(0,L.jsx)(ca,{...(0,pa.omit)(e,"mode")})},_a="Q1AwuoF5ajW9bZRkRCW_",fa="kUe1SMLC8eMs4HrtKjxk",va="fs88bUHAHAFM5wKu3v5c",ya="gPsrvA1Nz5N9ZkBQNrm8",ba=e=>{let{title:t,desc:n,imgSrc:a,imgAlt:o,background:r}=e;return(0,L.jsxs)("div",{style:{backgroundColor:r},className:_a,children:[(0,L.jsx)("img",{src:a,alt:o||t,className:fa,width:280,height:280}),(0,L.jsxs)("div",{children:[(0,L.jsx)($.xv,{label:$.JG.body1,classNames:[va],value:t}),(0,L.jsx)($.xv,{label:$.JG.body2,classNames:[ya],value:n})]})]})},Ca="SY1GALPA09F5MUwtJit_",wa="TX1GayR6BY3JFTfr9b9b",ka="Fl0vjQptuQdqGT7c3bcy",Ea="sCUGOkbRpJM0TaeNIn9j",xa="OEgsH0zagjRt7OfI7TCx",Ia=e=>{let{title:t,desc:n,imgSrc:a,imgAlt:o,background:r}=e;return(0,L.jsxs)("div",{style:{backgroundColor:r},className:Ca,children:[(0,L.jsx)("img",{src:a,alt:o||t,className:ka,width:420,height:280}),(0,L.jsxs)("div",{className:wa,children:[(0,L.jsx)($.xv,{label:$.JG.body1,classNames:[Ea],value:t}),(0,L.jsx)($.xv,{label:$.JG.body2,classNames:[xa],value:n})]})]})},Ta={"why_create-container":"_9SIgJAke6ASDPsSzfDM","why_create-title":"T5zode_oL0fyc0vBGmbn"};var Na=n(39333),Sa=n.n(Na);const Ra={"footer_start_cta-section":"LY6KU65Lrp9ErDhYRmVA","footer_start_cta-video":"AoMC_Oq9deXHlNoBJoMD","footer_start_cta-image":"qcHGnC4g6eZrx6YlikBG","footer_start_cta-wrapper":"XMOWNE9lVztHq21kPYip","footer_start_cta-container":"a3XHqQX6Tqb5Lb9xwF7i","footer_start_cta-title-dark":"uE_UVX2tDzs2zqvEZgQM","footer_start_cta-title-light":"l_ky_GZnN6UAjbNVBf1S","footer_start_cta-subtitle":"xeANiMxnFbkFmJU_U4bP","footer_start_cta-subtitle-dark":"BM8ut_feLu__jOp1DKn_","footer_start_cta-subtitle-light":"uf36gfGQpHn2kKKAQv81","footer_start_cta-button":"Y9lz_TGdXbM5L17nS0lc"};var Pa=n(84945);const Aa=[{key:"title",label:"\u6807\u9898",type:"input",needTranslation:!0},{key:"subTitle",label:"\u526f\u6807\u9898",type:"input",needTranslation:!0},{key:"backgroundColor",label:"\u80cc\u666f\u989c\u8272",type:"input"},{key:"theme",type:"select",label:"\u4eae\u6697\u6a21\u5f0f",options:[{key:"dark",value:"dark",label:"\u6697\u8272\u6a21\u5f0f"},{key:"light",value:"light",label:"\u4eae\u8272\u6a21\u5f0f"}]},{key:"backgroundImg",label:"\u80cc\u666f\u56fe\u7247",type:"image"},{key:"backgroundImgAlt",label:"\u80cc\u666f\u56fe\u7247\u63cf\u8ff0",type:"input",needTranslation:!0},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonURL",label:"\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"mobileButtonText",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"mobileButtonURL",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"mobileButtonAction",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv}],ja={title:"Start Creating A Video Online!",subTitle:"Equip your team with all they need for video",backgroundImg:"",backgroundColor:"#fff",theme:"light",buttonText:"Try for free",buttonURL:"/editor",buttonAction:"enter_edit_page",mobileButtonText:"Copy Link",mobileButtonURL:"https://www.capcut.com/editor",mobileButtonAction:"copy_link"},La=e=>{var t;const{pageType:n="article_page",title:a,subTitle:o,backgroundVideo:r,backgroundImg:i,backgroundImgAlt:s,backgroundColor:l,buttonText:g,buttonURL:m,buttonAction:h="sign_up",mobileButtonText:_,mobileButtonURL:f,mobileButtonAction:v,theme:y="light",isMobile:b,rank:C,path:w,articleTitle:k}=e,[E,,x]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${a}`}),[I,,T]=(0,S.qp)({moduleTitle:a,moduleRank:C},"signup_show"),N=k,R=Sa()(t=["tools","resource","create"]).call(t,(e=>w?.split("/")?.includes(e))),P=(0,c.useMemo)((()=>"article_page"===n?(0,ce.Mo)(m,{enterFrom:"article_page_bottom",currentPage:"article_page",articleType:R,articleTitle:N}):(0,ce.Mo)(m,{enterFrom:"article_group_page_bottom",currentPage:"article_group_page",articleType:R,articleTitle:N})),[n,m,R,N]);return(0,L.jsxs)("div",{className:Ra["footer_start_cta-section"],children:[r?(0,L.jsx)("video",{className:Ra["footer_start_cta-video"],src:r,autoPlay:!0,muted:!0}):null,i?(0,L.jsx)("img",{className:j()({[Ra["footer_start_cta-image"]]:!0,[Ra["with-background"]]:Boolean(r||i)}),src:i,alt:s}):null,(0,L.jsx)(J,{style:{backgroundColor:i?"none":l},className:j()({[Ra["footer_start_cta-wrapper"]]:!0}),ref:"article_page"===n?E:I,children:(0,L.jsxs)("div",{className:Ra["footer_start_cta-container"],children:[(0,L.jsx)(Q.n,{classNames:[Ra["footer_start_cta-title"],Ra[`footer_start_cta-title-${y}`]],value:a}),(0,L.jsx)($.xv,{classNames:[Ra["footer_start_cta-subtitle"],Ra[`footer_start_cta-subtitle-${y}`]],value:o}),b?_&&(0,L.jsx)(X.Z,{responsiveSizeRule:!0,size:"large",className:Ra["footer_start_cta-button"],value:_,customTheme:"dark"===y?"green":"dark",icon:!1,onClick:()=>{"article_page"===n?((new p.D).report({...x,action:v||"",position:`${u.q$.PICTURE}_${a}`,action_url:f}),(new B.eG).reportForArticlePageButton(v||"",{...x,position:`${u.q$.PICTURE}_${a}`,current_page:d.WB.PAGE_ARTICLE})):(new Pa.n).report({...T,action:"signup_click"}),"copy_link"===v?navigator.clipboard.writeText(f||""):window.open(f)}}):g&&(0,L.jsx)(X.Z,{responsiveSizeRule:!0,className:Ra["footer_start_cta-button"],value:g,href:P,customTheme:"dark"===y?"green":"dark",icon:!0,onClick:()=>{"article_page"===n?((new p.D).report({...x,action:h,position:`${u.q$.PICTURE}_${a}`,action_url:m}),(new B.eG).reportForArticlePageButton(h,{...x,position:`${u.q$.PICTURE}_${a}`,current_page:d.WB.PAGE_ARTICLE})):(new Pa.n).report({...T,action:"signup_click"})},target:"_blank"})]})})]})},Oa={"other_tools-pc-container":"XKkrLILUGy2hqmjJINMY","tool_item-container":"bNotP0G3xGf8NgU_758W","tool_item-img":"ZFwK9vTFNaZPTxa2L3Q3","tool_item-name":"dPEa265FnjCY5dJIjXM6","tool_item-icon":"G7jyLRjGnfyZeAfP3sHX",button:"f2ShXXaOBLycii9_NQBV","button-left":"EoHCHDm09rvXgsORbfLj","button-right":"mrrbRweatdg7_kVOYJ6N","see_more_btn-container":"GJN1xTcQR18pIVbWzRJQ","other_tools-title":"CRx96dRyvOTwvhoAspZi","other_tools-switcher":"iaF9qUk3RT7wiB3AnU05","other_tools-container":"DbsBpvazMgcBN5WX0cR2","other_tools-pc-pages-container":"py6SrIK0POFTDG8NduPL","other_tools-mobile-pages-container":"dkVBrKMTr43GGJMj2FBj","other_tools-page":"wUjk2EQigALcU378VmoD",see_more_btn:"_gS6IfCdMRyaobpSMvyb","see_more_btn-icon":"jPcMUpZcIFNtr_9DYlGJ"},Da=e=>{let{iconName:t,iconSrc:n,iconImageAlt:a,toolLink:o,cardBackgroundColor:r,handleClick:i,currentUrl:s,action:l}=e;const c=(0,m.G)(o,{from_page:"article_page",enter_from:"relate_article",from_article_url_path:s||""});return(0,L.jsx)("a",{href:c,target:"_blank",className:Oa["tool_item-a-wrap"],onClick:()=>{i?.(l)},children:(0,L.jsxs)("div",{style:{background:r},className:Oa["tool_item-container"],children:[(0,L.jsx)("div",{className:Oa["tool_item-icon"],children:(0,L.jsx)("img",{className:Oa["tool_item-img"],src:n,alt:a||t,width:52,height:52})}),(0,L.jsx)($.xv,{classNames:[Oa["tool_item-name"]],value:t,label:$.JG.body1})]})})},Ma=e=>{var t;const{title:n,backgroundColor:a="#fff",cardBackgroundColor:o,items:r,path:i}=e,[s,,d]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${n}`}),[g,m]=(0,c.useState)(0),[h,_]=(0,c.useState)(!1),f=(0,c.useCallback)((()=>{m((e=>e+1))}),[]),v=(0,c.useCallback)((()=>{m((e=>e-1))}),[]),y=[];let C=0;if(r.length<=8)y.push(r);else for(let l=1;l<=r.length;l++)l%8!=0&&l!==r?.length||(y.push(Nt()(r).call(r,C,l)),C=l);const w=e=>{(new p.D).report({...d,action:e??"enter_article_page",position:`${u.q$.PICTURE}_${n}`})};return(0,L.jsxs)(J,{className:Oa["other_tools-pc-container"],style:{backgroundColor:a},ref:s,children:[(0,L.jsx)(Q.n,{classNames:[Oa["other_tools-title"]],value:n}),(0,L.jsxs)("div",{className:Oa["other_tools-switcher"],children:[(0,L.jsxs)("div",{className:Oa["other_tools-container"],children:[(0,L.jsx)("div",{className:Oa["other_tools-pc-pages-container"],style:{transform:`translateX(-${100*g}%)`},children:l()(y).call(y,((e,t)=>(0,L.jsx)("div",{className:Oa["other_tools-page"],children:l()(e).call(e,(e=>(0,L.jsx)(Da,{iconName:e.iconName,iconSrc:e.iconSrc,iconImageAlt:e.iconImageAlt,toolLink:e.toolLink,cardBackgroundColor:o,currentUrl:i,action:e.action,handleClick:w},e.iconName)))},t)))}),(0,L.jsxs)("div",{className:Oa["other_tools-mobile-pages-container"],children:[y[0]?.map((e=>(0,L.jsx)(Da,{iconName:e.iconName,iconSrc:e.iconSrc,toolLink:e.toolLink,cardBackgroundColor:o,currentUrl:i,action:e.action,handleClick:w},e.iconName))),h&&y?.length>1&&l()(t=Nt()(y).call(y,1)).call(t,(e=>(0,L.jsx)(L.Fragment,{children:l()(e).call(e,(e=>(0,L.jsx)(Da,{iconName:e.iconName,iconSrc:e.iconSrc,toolLink:e.toolLink,action:e.action,cardBackgroundColor:o,currentUrl:i,handleClick:w},e.iconName)))})))]})]}),r.length>8&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(nt.Z,{className:j()(Oa["button-left"],Oa.button),onClick:v,disabled:0===g,children:(0,L.jsx)(b.ezc,{fill:"currentColor",stroke:"currentColor"})}),(0,L.jsx)(nt.Z,{className:j()(Oa["button-right"],Oa.button),onClick:f,disabled:g===y.length-1,children:(0,L.jsx)(b.Gjh,{fill:"currentColor",stroke:"currentColor"})})]}),r.length>8&&!h&&(0,L.jsx)("div",{className:j()(Oa["see_more_btn-container"]),children:(0,L.jsxs)("div",{className:j()(Oa.see_more_btn),onClick:()=>{_(!0)},children:[(0,L.jsx)($.xv,{label:$.JG.body1,tagType:$.Qy.span,value:I.oc.t("web_home_page_see_more",{},"See More")}),(0,L.jsx)(b.h1J,{className:Oa["see_more_btn-icon"],fill:"currentColor",stroke:"currentColor"})]})})]})]})},Fa={"features_part-title":"gDeix9NeYjOLHHgg4cN1","features_part-pc-container":"NzyB77N77sR4R7ptelFK","image-before":"hPIT4XOkGXrOEtYVbxcA","features_part-mobile-container":"APAtupwRWYJAGEFNT3Am","features_part-left":"ek9u8gm82El2NfySOM14","features_part-right":"dDfVhWzLQw54V89cEUvg","features_part-right-container":"LZWyw8zuBMrS50MeOilY","features_part-btn":"cc01vRk38wtCGUrIjDXo","step_item-container":"v8tartWs6JvKQcdMgEyX","step_item-container-activated":"UspVNIo2NroyG0xGsnme","step_item-desc":"WXM7nSwjJ5vBsX1gmPqA","step_item-title":"NgCbFB2LCalmbg1YMttm","step_item-mobile":"tB9umQuGEUgZpnq975hu","step_item-mobile-container":"tXCdhTG9Wd7TdID_XUbs","step_item-mobile-container-activated":"SDKdFJzZse50KKc6xa15","step_item-mobile-title":"kbB0JZo28PkRKutplKEg","step_item-mobile-img":"X1y0jr5z8EY0DNSAFVIL","step_item-mobile-img-activated":"WjnTVqMekbqICPG4JEvg"};var Ua=n(74858);const Ba=[{key:"title",label:"\u6807\u9898",type:"input",needTranslation:!0},{key:"list",label:"\u5206\u6b65\u9aa4\u63cf\u8ff0",type:"list",formList:[{key:"stepName",label:"\u6b65\u9aa4\u540d\u79f0",type:"input",needTranslation:!0},{key:"stepDesc",label:"\u6b65\u9aa4\u4ecb\u7ecd",type:"input",needTranslation:!0},{key:"imgSrc",label:"\u6b65\u9aa4\u4ecb\u7ecd\u56fe",type:"image"},{key:"imgAlt",label:"\u6b65\u9aa4\u4ecb\u7ecd\u56fe\u63cf\u8ff0",type:"input",needTranslation:!0}]},{key:"imagePosition",label:"\u56fe\u7247\u4f4d\u7f6e",type:"select",options:[{key:"before",value:"before",label:"\u56fe\u7247\u5728\u6587\u5b57\u524d"},{key:"after",value:"after",label:"\u56fe\u7247\u5728\u6587\u5b57\u540e"}]},{key:"backgroundColor",label:"\u80cc\u666f\u989c\u8272\u8272\u503c",type:"input"},{key:"buttonDisplay",label:"\u6309\u94ae\u662f\u5426\u663e\u793a",type:"select",options:[{key:"show",value:"show",label:"\u663e\u793a\u6309\u94ae"},{key:"hide",value:"hide",label:"\u9690\u85cf\u6309\u94ae"}]},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonUrl",label:"\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"intervalTime",label:"\u95f4\u9694\u8f6e\u64ad\u65f6\u957f(ms\u5355\u4f4d)",type:"input"}],Wa={title:"Start to Create a Video with CapCut",list:[{stepName:"Step 1\uff1aGet started",stepDesc:"Upload your raw video files to our cloud and use our media management system to organize them.",imgSrc:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc"},{stepName:"Step 2\uff1aCreate A Video ",stepDesc:"Drag and drop your media files to the timeline and edit. You can cut, trim, crop, add text, stickers, filters and more.",imgSrc:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc"},{stepName:"Step 3\uff1aExport & Share",stepDesc:'When you\'re done your video editing, just click on "Export" to download and share on social platforms.',imgSrc:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc"}],imagePosition:"after",backgroundColor:"#FFFFFF",buttonDisplay:"show",buttonText:"Try for free",buttonUrl:"/editor",buttonAction:"enter_edit_page",intervalTime:1e3},Ga=e=>{let{stepName:t,stepDesc:n,isActivated:a,handleClick:o}=e;return(0,L.jsxs)("div",{onClick:o,className:j()(Fa["step_item-container"],a?Fa["step_item-container-activated"]:null),children:[(0,L.jsx)($.xv,{classNames:[Fa["step_item-title"]],label:$.JG.body1,tagType:$.Qy.h3,value:t}),(0,L.jsx)($.xv,{classNames:[Fa["step_item-desc"]],label:$.JG.body2,tagType:$.Qy.p,value:n})]})},Za=e=>{let{stepName:t,stepDesc:n,isActivated:a,imgSrc:o,imgAlt:r,handleClick:i}=e;return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsxs)("div",{onClick:i,className:j()(Fa["step_item-mobile-container"],a?Fa["step_item-mobile-container-activated"]:null),children:[(0,L.jsx)($.xv,{classNames:[Fa["step_item-mobile-title"]],label:$.JG.body1,tagType:$.Qy.h3,value:t}),(0,L.jsx)($.xv,{classNames:[Fa["step_item-mobile-desc"]],label:$.JG.body3,tagType:$.Qy.p,value:n})]}),(0,L.jsx)("img",{loading:"lazy",className:j()(Fa["step_item-mobile-img"],a?Fa["step_item-mobile-img-activated"]:null),src:o,alt:r??t})]})},Ha=e=>{const{title:t,list:n,buttonDisplay:a="show",buttonText:o,buttonUrl:r,intervalTime:i=1e3,imagePosition:s="after",backgroundColor:m="#FFF",buttonAction:h="enter_edit_page"}=e,[_,f]=(0,c.useState)(0),v=(0,c.useMemo)((()=>l()(n).call(n,(e=>e.imgSrc))),[n?.length,n]),y=(0,c.useRef)(null),b=`${u.q$.PICTURE}_${t}`,[C,,w]=(0,S._F)({...e,position:b}),k=(0,c.useCallback)((()=>{(0,g.S7)().isMobile||(y.current=ve()((()=>{f((e=>e+1>=n.length?0:e+1))}),i))}),[i,n.length]),E=()=>{y.current&&(clearInterval(y.current),y.current=null)};(0,c.useEffect)((()=>(k(),()=>{E()})),[i,k]);const x=e=>{E(),k(),f(e)};return(0,L.jsxs)(J,{style:{backgroundColor:m},ref:C,children:[(0,L.jsx)(Q.n,{classNames:[Fa["features_part-title"]],value:t}),(0,L.jsxs)("div",{className:j()({[Fa["features_part-pc-container"]]:!0,[Fa["image-before"]]:"before"===s,[Fa["image-after"]]:"after"===s}),children:[(0,L.jsx)("div",{className:j()({[Fa["features_part-left"]]:!0,[Fa["image-before"]]:"before"===s,[Fa["image-after"]]:"after"===s}),children:l()(n).call(n,((e,t)=>(0,L.jsx)(Ga,{handleClick:()=>{x(t)},isActivated:t===_,...e},e.stepName)))}),(0,L.jsx)("div",{className:j()({[Fa["features_part-right"]]:!0,[Fa["image-before"]]:"before"===s,[Fa["image-after"]]:"after"===s}),children:(0,L.jsx)("div",{className:Fa["features_part-right-container"],children:(0,L.jsx)(Ua.Z,{style:{height:"100%"},animation:"fade",showArrow:"never",indicatorType:"never",currentIndex:_,children:l()(v).call(v,((e,t)=>(0,L.jsx)("div",{children:(0,L.jsx)("img",{loading:"lazy",alt:n[t].imgAlt??n[t].stepName,src:e,style:{width:"100%",height:"100%",objectFit:"contain",objectPosition:"center center"}})},t)))})})})]}),(0,L.jsx)("div",{className:j()({[Fa["features_part-mobile-container"]]:!0}),children:l()(n).call(n,((e,t)=>(0,L.jsx)(Za,{handleClick:()=>{x(t)},isActivated:t===_,...e},e.stepName)))}),"show"===a&&(0,L.jsx)("div",{style:{textAlign:"center"},children:(0,L.jsx)(X.$,{responsiveSizeRule:!0,className:Fa["features_part-btn"],icon:!0,value:o,href:r,target:"_blank",onClick:()=>{(new p.D).report({...w,action:h,position:b,action_url:r}),(new B.eG).reportForArticlePageButton(h,{...w,position:b,current_page:d.WB.PAGE_ARTICLE})},customTheme:"dark"})})]})};var za=n(56780);const qa="neXRaE_ch5xsonQt84Nb",Ya="jWetDkXJAzaFrhPMEFYY",Va="MfgixhoNwnWz9df3lM7z";var Ka=n(94543);const{Row:Ja,Col:Xa}=Ka.Z,Qa=e=>{let{title:t,icons:n}=e;return(0,L.jsxs)("div",{children:[(0,L.jsx)(za.D,{classNames:[qa],value:t}),(0,L.jsx)(Ja,{justify:"space-between",className:Ya,children:l()(n).call(n,(e=>(0,L.jsx)(Xa,{span:Math.floor(24/n.length)-2,children:(0,L.jsx)("img",{className:Va,src:e.src,alt:e.alt,loading:"lazy"})},e.src)))})]})},$a=c.forwardRef(((e,t)=>(0,L.jsx)(C.Z,{style:{backgroundColor:"black"},ref:t,children:(0,L.jsx)(Qa,{...e})})));var eo=n(75172),to=n(10053),no=n(18226),ao=n.n(no);const oo=e=>ao().post("/cms/api/tag/get_tag_item",e);var ro=n(48232),io=n.n(ro),so=n(7419),lo=n.n(so),co=n(69830),uo=n.n(co),po=n(61867),go=n.n(po),mo=n(36951),ho=n(4446),_o=n(17476),fo=function(e,t,n,a){return new(n||(n=lo()))((function(o,r){function i(e){try{l(a.next(e))}catch(t){r(t)}}function s(e){try{l(a.throw(e))}catch(t){r(t)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,s)}l((a=a.apply(e,t||[])).next())}))};const vo=(0,ho.C)({id:"LvArticleGroupDataMachine",context:{data:[],tagData:[],category:"",languageId:"",tags:[],fetchData:void 0},initial:"unknown",states:{unknown:{always:[{target:"load",cond:"checkEmptyData"},{target:"load.loaded",cond:"checkNotEmptyData"}]},load:{initial:"loading",states:{loading:{invoke:{id:"fetchArticleGroupData",src:"fetchArticleGroupData",onDone:{target:"loaded",actions:["saveArticleGroupData"]},onError:{target:"failed"}}},loaded:{},failed:{}},on:{RELOAD:{target:"#LvArticleGroupDataMachine.unknown"},SET_CONTENT_RELOAD:{target:"#LvArticleGroupDataMachine.load.loading",actions:["setContentReload"]}}}}},{services:{fetchArticleGroupData:e=>fo(void 0,void 0,void 0,(function*(){var t,n,a,o,r;if(e.fetchData)return yield e.fetchData(e);const i=yield lo().all([_o.B.getAggregateContent({tag_list:e.tags||[],category_list:e.category?[e.category]:[],language_id:e.languageId}),_o.B.getTagItem({ids:e.tags||[],language_id:e.languageId})]),s=io()(i,2),l=s[0],c=s[1],d=null===(t=l.data)||void 0===t?void 0:t.data,u=(null===(a=null===(n=c.data)||void 0===n?void 0:n.data)||void 0===a?void 0:a.tags)||[],p=[],g=[];if(e.category){var m;const t=null==d?void 0:d.hotContents;uo()(m=[e.category]).call(m,(e=>{(null==t?void 0:t[e])&&p.push(...t[e])}))}else if(null===(o=e.tags)||void 0===o?void 0:o.length){var h;const t=null==d?void 0:d.tagContents;uo()(h=e.tags).call(h,(e=>{(null==t?void 0:t[e])&&p.push(...t[e])}))}return null===(r=e.tags)||void 0===r||uo()(r).call(r,(e=>{(null==u?void 0:u[e])&&g.push(null==u?void 0:u[e])})),go()(go()({},e),{data:p,tagData:g})}))},actions:{saveArticleGroupData:(0,mo.f0)(((e,t)=>go()(go()({},e),t.data))),setContentReload:(0,mo.f0)(((e,t)=>go()(go()({},e),(0,pa.omit)(t,"type"))))},guards:{checkEmptyData:e=>{var t;return!(null===(t=e.data)||void 0===t?void 0:t.length)},checkNotEmptyData:e=>{var t;return Boolean(null===(t=e.data)||void 0===t?void 0:t.length)}}}),yo="NMWERWULRMu6O76IphHr",bo="EqQdADWCxH4fSoZzrcPF",Co="nxc7UdjFFuYfHGM2cw55",wo="L1QbOMHScGKwLrZoqdda",ko="NapV2Vt9J1J_CBOksFLH",Eo="QQPQbxbZMp8b8z3TRSRo",xo="UNuQW37QJk1UH7WPhNoH";const Io=async e=>{const t=[],n=await oo({ids:e.tags||[],language_id:e.languageId});if(n?.data?.data){const a=n.data.data.tags;e.tags?.map((e=>{a?.[e]&&t.push(a[e])}))}return{...e,data:t}},To=e=>{const{title:t,subTitle:n,headContainer:a,originPath:o,path:r,componentTags:i,category:s="",languageId:u}=e,p=(0,c.useMemo)((()=>i?.map((e=>e?.id))||[]),[i]),g=(0,c.useMemo)((()=>({data:i?.filter((e=>e?.label))||[],category:s,tags:p,languageId:u,fetchData:Io})),[s,i,u,p]),[h,_]=(0,eo.eO)(vo.withContext(g)),f=h.context.data,v=(0,c.useMemo)((()=>{var e;const n=x.uL.getPathPrefix(r||""),a=`${o}${n?`/${n}`:""}`;return l()(e=[{label:I.ZP.t("web_home_page",{},"Home"),href:a},{label:t}]).call(e,(e=>({...e,href:e.href?(0,m.G)(e.href,{[d.WB.FROM_PAGE]:"article_group_page",[d.WB.ENTER_FROM]:"navigation_bar"}):void 0})))}),[o,r,t]);(0,to.Z)((()=>{_({type:"SET_CONTENT_RELOAD",tags:p})}),[_,p]);const y=(e,t)=>{(new Pa.n).report({action:t,article_type:(0,ce.i6)(r||"")}),function(e){const t=document?.querySelector("#preview-iframe")?.contentWindow||window,n=t.document.getElementById(e);if(n){const e=68,a=n.getBoundingClientRect().top+t.pageYOffset-e;t.scrollTo({top:a,behavior:"smooth"})}}(e)};return(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)(J,{className:yo,children:[(0,L.jsx)(M,{headContainer:a,origin:o,path:r,className:bo,items:v}),(0,L.jsxs)("div",{className:Co,children:[(0,L.jsx)(Q.n,{value:t,label:Q.J.h1,classNames:[wo]}),(0,L.jsx)($.xv,{value:n,label:$.JG.body1,classNames:[ko]}),(0,L.jsx)("div",{className:Eo,children:l()(f).call(f,((e,t)=>(0,L.jsx)(X.Z,{icon:!1,className:xo,value:e?.label,responsiveSizeRule:!0,customTheme:"light",onClick:()=>y(e?.id,e?.label)},`${e?.id}${t}`)))})]})]})})},No=To;var So=n(88141),Ro=n(19963),Po=n.n(Ro);const Ao=(0,ho.C)({id:"LvArticleGroupDataMachine",context:{data:[],tagData:[],category:"",languageId:"",tags:[],fetchData:void 0},initial:"unknown",states:{unknown:{always:[{target:"load",cond:"checkEmptyData"},{target:"load.loaded",cond:"checkNotEmptyData"}]},load:{initial:"loading",states:{loading:{invoke:{id:"fetchArticleGroupData",src:"fetchArticleGroupData",onDone:{target:"loaded",actions:["saveArticleGroupData"]},onError:{target:"failed"}}},loaded:{},failed:{}},on:{RELOAD:{target:"#LvArticleGroupDataMachine.unknown"},SET_CONTENT_RELOAD:{target:"#LvArticleGroupDataMachine.load.loading",actions:["setContentReload"]}}}}},{services:{fetchArticleGroupData:async e=>{if(e.fetchData)return await e.fetchData(e);const[t,n]=await Po().all([_o.B.getAggregateContent({tag_list:e.tags||[],category_list:e.category?[e.category]:[],language_id:e.languageId}),_o.B.getTagItem({ids:e.tags||[],language_id:e.languageId})]),a=t.data?.data,o=n.data?.data?.tags||[],r=[],i=[];if(e.category){var s;const t=a?.hotContents;He()(s=[e.category]).call(s,(e=>{t?.[e]&&r.push(...t[e])}))}else if(e.tags?.length){var l;const t=a?.tagContents;He()(l=e.tags).call(l,(e=>{t?.[e]&&r.push(...t[e])}))}return e.tags?.forEach((e=>{o?.[e]&&i.push(o?.[e])})),{...e,data:r,tagData:i}}},actions:{saveArticleGroupData:(0,mo.f0)(((e,t)=>({...e,...t.data}))),setContentReload:(0,mo.f0)(((e,t)=>({...e,...(0,pa.omit)(t,"type")})))},guards:{checkEmptyData:e=>!e.data?.length,checkNotEmptyData:e=>Boolean(e.data?.length)}});var jo,Lo=n(6902),Oo=n.n(Lo),Do=n(68793),Mo=n.n(Do),Fo=n(49557),Uo=n.n(Fo);!function(e){e[e.None=0]="None",e[e.X=1]="X",e[e.Y=2]="Y"}(jo||(jo={}));const Bo=(e,t,n)=>Math.min(Math.max(e,t),n);const Wo={container:"NiC78Pci0XSHWOBUOe2Q","swiper-container":"k0csj4MCJfnh116U5_AS","swiper-wrap":"YdA5nLdU9g4nEBosbJFF","swiper-slide":"wB1eweYQa454TgpppUtx",arrowLeft:"xMCCzJA26IpvMPrazp4r",arrowRight:"GpYlRUewgGQzfcFrxyPu","indicator-wrap":"jlYG2gCRwjivVTpAcAEk","indicator-wrap-item":"aXgGm1RVoupOvc74ju97",handler:"ftH94BuRSKIPcI40A83v","indicator-wrap-item-active":"mepZkksQTbZvomqpbxpq"};function Go(e){const{frameList:t,activeIndex:n,onActiveChange:a,onRealTimeIndexChange:o,controlPanel:r,frameGap:i=0,arrowBtnBias:s,className:d,intervalTime:u}=e,[p,g]=(0,tt.Z)(),[m,h]=(0,c.useState)(0),_=!(0,pa.isNil)(n),f=_?n:m,v=_?a:h,y=(0,c.useRef)(!1),C=(0,c.useMemo)((()=>({gridMove:!0,gridWidth:g.width+i})),[g.width,i]),w=(0,c.useMemo)((()=>({min:0,max:(t.length-1)*(g.width+i)})),[g.width,i,t.length]),{moving:k,movingRef:E,moveX:x,setMoveX:I}=function(e){let{ref:t,xEdge:n,yEdge:a,mutexDirection:o,gridConfig:r}=e;const[i,s]=(0,c.useState)(0),[l,d]=(0,c.useState)(0),u=(0,c.useRef)({x:0,y:0}),[p,g]=(0,c.useState)(!1),m=(0,c.useRef)(!1),h=(0,c.useRef)({x:0,y:0}),_=(0,c.useRef)(!1),f=(0,c.useRef)(),v=(0,c.useRef)({timer:null,direction:jo.None}),y=(0,c.useRef)({xMax:0,xMin:0}),b=(0,c.useRef)();(0,c.useEffect)((()=>{u.current={x:i,y:l}}),[i,l]);const C=(0,c.useCallback)((()=>{_.current=!0,f.current&&clearTimeout(f.current),f.current=Mo()((()=>{_.current=!1,f.current=null}),50)}),[]),w=(0,c.useCallback)(((e,t)=>{let[n,a]=[e,t];return o&&(v.current.timer&&clearTimeout(v.current.timer),v.current.timer=Mo()((()=>{v.current.direction=jo.None,v.current.timer=null}),50),v.current.direction===jo.None&&(Math.abs(n)>Math.abs(a)?v.current.direction=jo.X:Math.abs(n){if(g(!0),m.current=!0,r?.gridMove){const{gridWidth:e}=r,t=u.current.x+e,n=u.current.x-e;y.current={xMax:t,xMin:n}}}),[r]),E=(0,c.useCallback)((()=>{g(!1),m.current=!1,h.current={x:0,y:0}}),[]),x=(0,c.useCallback)(((e,t,o)=>{const[i,l]=w(e,t);let[c,p]=[n?.min,n?.max];r?.gridMove&&(c=Math.max(c||0,y.current.xMin),p=Math.min(p??Uo(),y.current.xMax));const g=(0,pa.isNil)(c||p)?u.current.x+i:Bo(u.current.x+i,c||0,p??Uo()),h=a?Bo(u.current.y+l,a.min,a.max):u.current.y+l;u.current.x===g&&u.current.y===h&&m.current||(m.current||k(),b.current&&clearTimeout(b.current),b.current=Mo()(E,50),s(g),d(h)),Math.abs(i)>Math.abs(l)&&C(),_.current&&o.preventDefault()}),[r,w,E,k,C,n,a]);return(0,c.useEffect)((()=>{const e=e=>{m.current||0!==e.deltaY?x(e.deltaX,e.deltaY,e):e.preventDefault()},n=e=>{const t=e.touches[0],{clientX:n,clientY:a}=t,o=h.current.x-n,r=h.current.y-a;h.current={x:n,y:a},x(o,r,e)},a=e=>{const t=e.touches[0];h.current={x:t.clientX,y:t.clientY}};return window.ontouchstart?(t.current?.addEventListener("touchmove",n),t.current?.addEventListener("touchstart",a),()=>{t.current?.removeEventListener("touchmove",n),t.current?.removeEventListener("touchstart",a)}):(t.current?.addEventListener("wheel",e),()=>{t.current?.removeEventListener("wheel",e)})}),[x,t]),{moving:p,movingRef:m,moveX:i,moveY:l,setMoveX:s,setMoveY:d}}({ref:p,mutexDirection:!0,gridConfig:C,xEdge:w});(0,c.useEffect)((()=>{y.current=!0,I(f*(g.width+i))}),[g.width,f,I]),(0,c.useEffect)((()=>{o?.(x/(g.width+i))}),[g.width,i,x,o]),(0,c.useEffect)((()=>{if(y.current)y.current=!1;else if(!k&&g.width){const e=Math.round(x/(g.width+i));v?.(e),I(e*(g.width+i))}}),[g.width,i,x,k,v,I]),(0,c.useEffect)((()=>{if(u){const e=ve()((()=>{E.current||v?.((f+1)%t.length)}),u);return()=>clearInterval(e)}return()=>null}),[f,t.length,u,E,v]);return(0,L.jsxs)("div",{className:j()(Wo.container,d),ref:p,children:[(0,L.jsx)("div",{className:Wo["swiper-container"],children:(0,L.jsx)("div",{className:Wo["swiper-wrap"],style:{willChange:"transform",transitionDuration:(k?0:600)+"ms",transform:`translate3d(-${x}px, 0px, 0px)`,transitionTimingFunction:"cubic-bezier(0.2, 0.96, 0.56, 1)"},children:l()(t).call(t,((e,t)=>(0,L.jsx)("div",{style:{marginRight:i},className:j()(Wo["swiper-slide"],t===m?Wo["swiper-slide-active"]:""),children:e},t)))})}),r||(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(nt.Z,{disabled:f<=0,className:Wo.arrowLeft,onClick:()=>{v?.(Math.max(0,f-1))},style:{left:s},children:(0,L.jsx)(b.ezc,{fill:"currentColor",stroke:"currentColor"})}),(0,L.jsx)(nt.Z,{disabled:f>=t.length-1,className:Wo.arrowRight,onClick:()=>{v?.(Math.min(t.length-1,f+1))},style:{right:s},children:(0,L.jsx)(b.Gjh,{fill:"currentColor",stroke:"currentColor"})})]})]})}const Zo=e=>{var t;let{pageCount:n,activeIndex:a,onChange:o}=e;const r=Oo()(t=new Array(n)).call(t,0);return(0,L.jsx)("div",{className:Wo["indicator-wrap"],children:l()(r).call(r,((e,t)=>(0,L.jsx)("div",{className:j()(Wo["indicator-wrap-item"],t===a?Wo["indicator-wrap-item-active"]:""),onClick:()=>o(t),children:(0,L.jsx)("div",{className:Wo.handler})},t)))})};var Ho=n(94557);const zo="Wdss8A0rqblc1KHEWOJd",qo="nsZXNX8j33bTOVERidBH",Yo="K87ed7ZVyAnVp1megXVu",Vo="b3D4kz5AHCGRTj6rQEGU",Ko="B_1Kwl8s3SFaOfhKKXZM",Jo="sIXFH4Frnnhv5BMGTqBA",Xo="spO15UHlLuETJ6fxfQhk",Qo="GNxcc07OfNfuEMi_BIA0",$o={[T.Ve]:!0,intervalTime:3e3,buttonText:"Read more"},er=e=>{const{articleData:t,buttonText:n,moduleRank:a,moduleTitle:o,rank:r,path:i,containerRef:s}=e,l=(0,c.useMemo)((()=>(0,ce.n5)(t||{})||{}),[t]),[u,p]=(0,c.useState)("unset"),g=(0,c.useMemo)((()=>({moduleRank:a,moduleTitle:o,rank:r,articleTitle:t?.title,articleId:t?.id,articleUrlPath:t?.path,articleType:(0,ce.i6)(t?.path||"")})),[t,a,o,r]),[h,,_]=(0,S.qp)(g),{title:f,articleGroupCover:v,coverURL:y,coverAlt:b,backgroundCode:C}=l,w=()=>{const e=(0,m.G)(window.location.origin+t?.path,{[d.WB.FROM_PAGE]:"article_group_page",[d.WB.ENTER_FROM]:o,[d.dB.FROM_ARTICLE_GROUP_URL_PATH]:i||""});(new Pa.n).report({action:"article_click",..._}),window.open(e)};return(0,c.useEffect)((()=>{const e=document?.querySelector("#preview-iframe")?.contentWindow||window,t=()=>{const t=(s?.current||e.document).querySelectorAll(".hot-article-item-left");let n=0;He()(t).call(t,(e=>{const{height:t}=e.getBoundingClientRect();t>n&&(n=t)})),n&&p(`${n}px`)};return t(),e.addEventListener("resize",t),()=>{e.removeEventListener("resize",t)}}),[s]),(0,L.jsxs)("div",{className:zo,onClick:w,ref:h,children:[(0,L.jsx)("div",{className:j()(qo),children:(0,L.jsx)("div",{style:{height:u},className:Yo,children:(0,L.jsxs)("div",{className:"hot-article-item-left",children:[(0,L.jsx)($.xv,{value:t?.tag_tree?.[0]?.label,classNames:[Vo],label:$.JG.body3}),(0,L.jsx)(Q.n,{value:f||"",classNames:[Ko],label:Q.J["h2-minus"]}),(0,L.jsx)(X.Z,{className:Jo,value:n||$o.buttonText,responsiveSizeRule:!0,iconInline:!0,customTheme:"dark",onClick:w})]})})}),(0,L.jsx)("div",{className:Xo,style:{background:C},children:(0,L.jsx)("div",{className:Qo,children:(0,L.jsx)("img",{height:"100%",width:"100%",src:v||y,alt:b,style:{objectFit:v?"cover":"contain"}})})})]})},tr=[{query:"(max-width: 1520px)",value:44},{query:"(max-width: 1200px)",value:36},{query:"(max-width: 480px)",value:28}],nr=e=>{const[t]=[e?.[T.Zz]],{languageId:n,category:a,intervalTime:o=$o.intervalTime,buttonText:r,rank:i,containerType:s,path:l}=e,d=(0,c.useRef)(null),u=(0,c.useMemo)((()=>({tags:[],data:t,languageId:n,category:a})),[t,a,n]),[p,g]=(0,eo.eO)(Ao.withContext(u)),{data:m}=p?.context,[h,_]=(0,c.useState)(0),[f,v]=(0,c.useState)(0),y=(0,S.NF)(tr,48);(0,to.Z)((()=>{g({type:"SET_CONTENT_RELOAD",category:a})}),[a]);const b=(0,c.useMemo)((()=>m?.map(((e,t)=>(0,L.jsx)(er,{articleData:e,buttonText:r,rank:t,moduleRank:i,moduleTitle:"hot_article",path:l,active:h===t,containerRef:d},e?.id)))),[h,r,m,l,i]),C=e=>{_(e)};return(0,L.jsx)(J,{style:{paddingTop:0,paddingBottom:0,background:"#fff"},children:m?.length||s!==Ho.lS.CMSPlatform?(0,L.jsx)("div",{ref:d,children:(0,L.jsx)(Go,{frameList:b||[],frameGap:y,activeIndex:h,onActiveChange:C,onRealTimeIndexChange:e=>{v(e)},intervalTime:o,controlPanel:(0,L.jsx)(Zo,{activeIndex:Math.round(f),pageCount:b?.length||0,onChange:C})})}):(0,L.jsx)(So.Z,{description:"\u6682\u65e0\u70ed\u95e8\u6587\u7ae0"})})},ar=nr,or="ateW_Hyxs8hB7DXpIABd",rr="Ca3Lb_vYBAmC4xv51aA2";var ir=n(21055),sr=n(93957);const lr=(0,c.createContext)({moduleTitle:"",moduleRank:void 0}),cr="aRY0xiV7WC06lRjuiyzq",dr="Agey7x4vszvtyhF4cGgb",ur="Sd99A9RlmPuxoaWlDIv2",pr="AveyEAsjrDlwQWABhNZ1",gr="LzE7hyF2hbtUmTE6tMbw",mr=e=>{const{id:t,backgroundCode:n,bannerImage:a,coverImage:o,title:r,articlePath:i,bannerImageAlt:s,hide:l,rank:d}=e,{moduleRank:u,moduleTitle:p,path:g}=(0,c.useContext)(lr),[h,,_]=(0,S.qp)({articleTitle:r,articleId:t,rank:d,moduleRank:u,moduleTitle:p}),f=()=>{(new Pa.n).report({..._,action:"article_click"})},v=(0,c.useMemo)((()=>(0,m.G)(i,{enter_from:p,from_article_group_url_path:g||"",from_page:"article_group"})),[i]);return(0,L.jsxs)("div",{className:j()("article_card-container",cr),style:{visibility:l?"hidden":"visible"},ref:l?void 0:h,children:[(0,L.jsx)(sr.Z,{className:j()("article_card_image-container",ur),style:{width:"100%"},heightRatio:9/16,children:(0,L.jsx)("div",{className:pr,style:{backgroundImage:n},children:(0,L.jsx)("a",{href:v,onClick:f,target:"_blank",children:(0,L.jsx)("img",{height:"100%",width:"100%",className:dr,src:o||a,alt:s,style:{objectFit:o?"cover":"contain"}})})})}),(0,L.jsx)("a",{href:v,onClick:f,target:"_blank",style:{width:"100%"},children:(0,L.jsx)(ir.Z.Title,{className:j()("article_card-title",gr),heading:4,ellipsis:{rows:2,showTooltip:{type:"tooltip"}},children:r})})]})},hr="skzjSFlJ45CVBUyh69DQ",_r="BWNEU8CrOdLaRoyR6rUp",fr="d97J_kCZdmA3PSIcvOzk",vr="zjMVAFqcARspFn9rTB_6",yr="Bm5sC3sK6ld21mx5scgH",br="L41XELd_SJtmHKfRN0lY",Cr="ynrRYRpkfm8VJzpJC9ph",wr=e=>{const{id:t,backgroundCode:n,bannerImage:a,coverImage:o,title:r,desc:i,articlePath:s,rank:l}=e,{moduleRank:d,moduleTitle:u,path:p}=(0,c.useContext)(lr),[g,,h]=(0,S.qp)({articleTitle:r,articleId:t,rank:l,moduleRank:d,moduleTitle:u,articleUrlPath:s}),_=(0,c.useMemo)((()=>(0,m.G)(s,{enter_from:u,from_article_group_url_path:p||"",from_page:"article_group"})),[s]);return(0,L.jsx)("a",{href:_,onClick:()=>{(new Pa.n).report({...h,action:"article_click"})},target:"_blank",children:(0,L.jsxs)("div",{className:j()(hr),ref:g,children:[(0,L.jsx)(sr.Z,{className:j()(yr,fr),heightRatio:9/16,children:(0,L.jsx)("div",{className:_r,style:{width:"100%",backgroundImage:n},children:(0,L.jsx)("img",{height:"100%",width:"100%",className:vr,alt:r,src:o||a,style:{objectFit:o?"cover":"contain"}})})}),(0,L.jsx)("div",{className:fr,children:(0,L.jsxs)("div",{className:br,children:[(0,L.jsx)(Q.n,{classNames:[Cr],value:r,label:Q.J.h3}),(0,L.jsx)($.xv,{value:i,label:$.JG.body2})]})})]})})},kr=e=>{var t,n;const{articleList:a}=e;return(0,L.jsxs)("section",{className:"three_article-container",children:[(0,L.jsx)("div",{className:"three_article-upper-container",children:l()(t=Nt()(a).call(a,0,1)).call(t,(e=>(0,L.jsx)(wr,{...e},e.id)))}),(0,L.jsx)("div",{className:"three_article-lower-container",children:l()(n=Nt()(a).call(a,1)).call(n,(e=>(0,L.jsx)(mr,{...e},e.id)))})]})};var Er=n(67398),xr=n.n(Er);const Ir=(e,t)=>{const n=(0,c.useMemo)((()=>{var n,a;return e?.length({...e,id:t})))):e}),[e]);return{filledList:n}},Tr=e=>{const{articleList:t}=e,n=t?.length>2?4:2,{filledList:a}=Ir(t,n);return(0,L.jsx)("section",{className:"four_article-container",children:l()(a).call(a,(e=>(0,L.jsx)(mr,{...e},e.id)))})},Nr=e=>{var t,n;const{articleList:a}=e;return(0,L.jsxs)("section",{className:"five_article-container",children:[(0,L.jsx)("div",{className:"five_article-upper-container",children:l()(t=Nt()(a).call(a,0,2)).call(t,(e=>(0,L.jsx)(mr,{...e},e.id)))}),(0,L.jsx)("div",{className:"five_article-lower-container",children:l()(n=Nt()(a).call(a,2)).call(n,(e=>(0,L.jsx)(mr,{...e},e.id)))})]})},Sr=e=>{const{articleList:t}=e;return(0,L.jsx)("section",{className:"six_article-container",children:l()(t).call(t,(e=>(0,L.jsx)(mr,{...e},e.id)))})},Rr="ELOkukSTeDgTT1ed_ZdW",Pr="RKZ_tsL4wDAwqtRmvdpX",Ar="wFKK3GeffZ5uiLVnNhft",jr=[{query:"(max-width: 1520px)",value:44},{query:"(max-width: 1200px)",value:36},{query:"(max-width: 480px)",value:28}],Lr=e=>{const{articleData:t,articlePerPage:n}=e,[a,o]=(0,c.useState)(0),r=(0,c.useMemo)((()=>{var e;return 3===n?Nt()(e=(0,pa.chunk)(t,n)).call(e,0,1):(0,pa.chunk)(t,n)}),[t,n]),i=(e=>{switch(e){case 3:return kr;case 4:return Tr;case 5:return Nr;default:return Sr}})(n),s=l()(r).call(r,((e,t)=>(0,L.jsx)(i,{articleList:e},t))),d=(0,S.NF)(jr,48),u=(0,L.jsx)(L.Fragment,{children:r.length>1&&(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(nt.Z,{disabled:a<=0,className:Pr,onClick:()=>{o((e=>Math.max(0,e-1)))},children:(0,L.jsx)(b.ezc,{fill:"currentColor",stroke:"currentColor"})}),(0,L.jsx)(nt.Z,{disabled:a>=r.length-1,className:Ar,onClick:()=>{o((e=>Math.min(r.length-1,e+1)))},children:(0,L.jsx)(b.Gjh,{fill:"currentColor",stroke:"currentColor"})})]})});return(0,L.jsx)("div",{className:Rr,children:(0,L.jsx)(Go,{frameGap:d,frameList:s,activeIndex:a,onActiveChange:o,controlPanel:u})})},Or={"see_more_btn-container":"YNp17ZBwB2l7S25DL2Ma","see_more_btn-icon":"TUP9YKW0MGDt8qkqmW7V",see_more_btn:"FGCahYO08mLlkg9dwpU8"},Dr=e=>{const{articleData:t}=e,[n,a]=(0,c.useState)(!1),o=(0,c.useMemo)((()=>n?t:Nt()(t).call(t,0,6)),[t,n]);return(0,L.jsxs)("div",{children:[(0,L.jsx)(Sr,{articleList:o}),t.length>6&&!n&&(0,L.jsx)("div",{className:j()(Or["see_more_btn-container"]),children:(0,L.jsxs)("div",{className:j()(Or.see_more_btn),onClick:()=>{a(!0)},children:[(0,L.jsx)($.xv,{classNames:[Or["see_more_btn-text"]],label:$.JG.body1,tagType:$.Qy.span,value:I.oc.t("web_home_page_see_more",{},"See More")}),(0,L.jsx)(b.h1J,{className:Or["see_more_btn-icon"],fill:"currentColor",stroke:"currentColor"})]})})]})},Mr=[{key:"title",label:"\u6807\u9898",type:"input",needTranslation:!0},{key:"groupTags",label:"\u6807\u7b7e",type:"tagSelect"}],Fr={title:"Editor"},Ur=[{query:"(min-width: 0px)",value:"mobile"},{query:"(min-width: 560px)",value:"wideMobile"},{query:"(min-width: 960px)",value:"pc"}],Br=e=>{const{groupTags:t,articleData:n,isMobile:a,articlePerPage:o=3,title:r="Editor",languageId:i,rank:s,path:l,containerType:d}=e,[u,p]=(0,eo.eO)(Ao.withContext({tags:t,data:n,languageId:i}));(0,to.Z)((()=>{p({type:"SET_CONTENT_RELOAD",tags:t})}),[t,p]);const g=a?"wideMobile":"pc",m=(0,S.NF)(Ur,g),h=u?.context?.data,_=h?.map((e=>{const t=(0,ce.n5)(e);if(!(0,pa.isNil)(t))return{...t,articlePath:t.href,bannerImage:t.coverURL,bannerImageAlt:t.coverAlt,coverImage:t.articleGroupCover,desc:t.content}}))?.filter((e=>!(0,pa.isEmpty)(e)))?.map(((e,t)=>({...e,rank:t}))),f=(0,c.useCallback)((()=>!(0,pa.isNil)(_)&&0!==_?.length||d!==Ho.lS.CMSPlatform?"pc"===m||3===o?(0,L.jsx)(Lr,{articleData:_,articlePerPage:o}):"wideMobile"===m?(0,L.jsx)(Lr,{articleData:_,articlePerPage:6}):(0,L.jsx)(Dr,{articleData:_}):(0,L.jsx)(So.Z,{description:"\u8be5\u6807\u7b7e\u4e0b\u6682\u65e0\u6587\u7ae0"})),[m,o,_,d]);return(0,L.jsx)(J,{className:j()(rr,"article_group"),children:(0,L.jsxs)(lr.Provider,{value:{moduleTitle:r,moduleRank:s,path:l},children:[(0,L.jsx)(Q.n,{classNames:[or],value:r,id:t?.[0],ellipsis:{rows:2,showTooltip:{type:"tooltip"}},label:Q.J.h3}),f()]})})};var Wr=n(90927),Gr=n(55678),Zr=n(35336);const Hr="Y9oTWjUx3lJoHo24lHID",zr="RP6ZwKC1Zt_Kwc3458Yw";var qr=n(97578);const Yr=(0,c.createContext)({editable:!1}),Vr=()=>(0,c.useContext)(Yr);var Kr=n(15700),Jr=n.n(Kr),Xr=n(94141),Qr=n.n(Xr),$r=n(27942),ei=n.n($r),ti=n(45783),ni=n(85707),ai=n(8906),oi=n(15401),ri=n(56181),ii=n(90133),si=n(1171),li=n(9342),ci=n(11736),di=n(86473),ui=n(92243),pi=n.n(ui),gi=n(97039),mi=n.n(gi),hi=n(59851),_i=n.n(hi),fi=n(4848),vi=n(2985),yi=n(65224),bi=n(40242);const Ci=(e,t)=>{var n,a;const o=[],r=new(i());if(!e)return[{type:"paragraph",children:[{text:""}]}];He()(n=mi()(a=_i()(t)).call(a,((e,t)=>$e()(e)-$e()(t)))).call(n,(e=>{const n=t[e],a=n.parent;a||o.push(n),r.set(e,n);const i=r.get(a);(0,pa.isNil)(n.text)&&i&&(i.children=i.children||[],i.children.push(n))}));const s=new vi.p7(((e,t)=>{e||l()(t).call(t,(e=>(e=>{const t=e.attribs.i,n=r.get(t);if(!n)return;const a={text:(0,yi.dZ)(e)},o=(0,bi.JE)(a);n.text=o;const i=r.get(n.parent);i&&(i.children=i.children||[],i.children.push(n))})(e)))})),c=new fi._b(s,{decodeEntities:!0});try{c.write(e),c.end()}catch(u){}const d=[...o];for(;d.length;){const e=d.pop();e?.children?.length?d.push(e.children):(0,pa.isNil)(e?.text)&&e&&(e.children=[{text:""}])}return o};var wi=n(33426);const ki=(e,t)=>{const{selection:n}=e;if(t)return qr.F3.focus(e),void Wr.YR.select(e,t);n&&n.anchor&&n.focus&&(qr.F3.focus(e),Wr.YR.select(e,n.focus))};var Ei=n(28082),xi=n.n(Ei);const Ii="BmeSGznxhjQfT2O8Q8qz",Ti=U.Z.Group,Ni=["numbered-list","bulleted-list","step-list"],Si=["left","center","right","justify"],Ri=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"type";const{selection:a}=e;if(!a)return!1;const[o]=Qr()(Wr.ML.nodes(e,{at:Wr.ML.unhangRange(e,a),match:e=>!Wr.ML.isEditor(e)&&Wr.W_.isElement(e)&&e[n]===t}));return Boolean(o)},Pi=(e,t)=>{const n=Wr.ML.marks(e);return!!n&&!0===n[t]},Ai=(e,t)=>{Pi(e,t)?Wr.ML.removeMark(e,t):Wr.ML.addMark(e,t,!0)},ji=e=>{let{format:t,icon:n}=e;const a=(0,qr.ui)(),o=Ri(a,t,xi()(Si).call(Si,t)?"align":"type");return(0,L.jsx)(U.Z,{style:{background:o?"#ECEDEE":"#fff"},onMouseDown:e=>{e.preventDefault(),((e,t)=>{const n=Ri(e,t,xi()(Si).call(Si,t)?"align":"type"),a=xi()(Ni).call(Ni,t);let o;if(Wr.YR.unwrapNodes(e,{match:e=>!Wr.ML.isEditor(e)&&Wr.W_.isElement(e)&&xi()(Ni).call(Ni,e.type)&&!xi()(Si).call(Si,t),split:!0}),o=xi()(Si).call(Si,t)?{align:n?void 0:t}:{type:n?"paragraph":a?"list-item":t},Wr.YR.setNodes(e,o),!n&&a){const n={type:t,children:[]};Wr.YR.wrapNodes(e,n)}})(a,t)},icon:n})},Li=e=>{let{format:t,icon:n}=e;const a=(0,qr.ui)(),o=Pi(a,t);return(0,L.jsx)(U.Z,{style:{background:o?"#ECEDEE":"#fff"},onMouseDown:e=>{e.preventDefault(),Ai(a,t)},icon:n})};function Oi(e){let{children:t}=e;return(0,L.jsx)(Ti,{className:Ii,children:t})}const Di=["insertData","deleteBackward","deleteForward","insertBreak"],Mi=e=>{const{attributes:t,leaf:n}=e||{};let{children:a}=e||{};return n.bold&&(a=(0,L.jsx)("strong",{children:a})),n.italic&&(a=(0,L.jsx)("em",{children:a})),n.underline&&(a=(0,L.jsx)("u",{children:a})),(0,L.jsx)("span",{...t,children:a})},Fi=(e,t,n)=>{Wr.YR.setNodes(e,{hideIndex:!n.hideIndex},{at:t})},Ui=e=>{const{element:t,attributes:n,children:a}=e||{},o=(0,qr.vt)(),r=(0,qr._7)(),{editable:i}=Vr(),s={textAlign:t.align};switch(t.type){case"block-quote":return(0,L.jsx)("blockquote",{style:s,...n,children:a});case"bulleted-list":return(0,L.jsx)("ul",{className:"richeditor-ul",style:s,...n,children:a});case"heading-two":return(0,L.jsx)("h2",{className:"richeditor-h2",style:s,...n,children:a});case"heading-three":return(0,L.jsx)("h3",{className:"richeditor-h3",style:s,...n,children:a});case"list-item":const e=qr.F3.findPath(r,t);return(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)("li",{style:s,className:t?.hideIndex?"":"with-mark",...n,children:[i&&(0,L.jsx)(U.Z,{size:"small",style:{position:"absolute",left:-90,visibility:o?"unset":"hidden"},contentEditable:!1,onClick:()=>{Fi(r,e,t)},children:(t?.hideIndex?"\u663e\u793a":"\u9690\u85cf")+"\u6807\u8bb0"}),a]})});case"numbered-list":return(0,L.jsx)("ol",{className:"richeditor-ol",style:s,...n,children:a});case"no-style-text":return(0,L.jsx)("span",{style:s,...n,children:a});default:return(0,L.jsx)("p",{className:"richeditor-text",style:s,...n,children:a})}},Bi={"mod+b":"bold","mod+i":"italic","mod+u":"underline"};class Wi{plugins;matchPlugins;editor;constructor(e,t){var n,a,o,r;this.plugins=new(i())(l()(t).call(t,(e=>[e.name,e]))),this.matchPlugins=new(i()),He()(t).call(t,(e=>{e.matchNames?.forEach((t=>{this.matchPlugins.set(t,e)}))})),this.editor=e,this.bindIsInline(),this.bindIsVoid(),this.holdEditorInputEvents(),this.renderElement=Jr()(n=this.renderElement).call(n,this),this.renderLeaf=Jr()(a=this.renderLeaf).call(a,this),this.renderToolbarBtns=Jr()(o=this.renderToolbarBtns).call(o,this),this.onKeyDown=Jr()(r=this.onKeyDown).call(r,this)}renderElement(e){return(this.plugins.get(e.element.type)?.renderElement||this.matchPlugins.get(e.element.type)?.renderElement||Ui)(e,this.editor)}renderLeaf(e){var t,n;return(Sa()(t=Qr()(ei()(n=this.plugins).call(n))).call(t,(t=>e.leaf[t.name]))?.renderLeaf||Mi)(e,this.editor)}renderToolbarBtns(){var e;const t=[];return He()(e=this.plugins).call(e,(e=>{const n=e.toolBarBtn;n&&t.push((0,L.jsx)(n,{}))})),(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(Li,{format:"bold",icon:(0,L.jsx)(ti.Z,{})}),(0,L.jsx)(Li,{format:"italic",icon:(0,L.jsx)(ni.Z,{})}),(0,L.jsx)(Li,{format:"underline",icon:(0,L.jsx)(ai.Z,{})}),(0,L.jsx)(ji,{format:"heading-two",icon:(0,L.jsx)(oi.Z,{})}),(0,L.jsx)(ji,{format:"heading-three",icon:(0,L.jsx)(ri.Z,{})}),(0,L.jsx)(ji,{format:"numbered-list",icon:(0,L.jsx)(ii.Z,{})}),(0,L.jsx)(ji,{format:"bulleted-list",icon:(0,L.jsx)(si.Z,{})}),(0,L.jsx)(ji,{format:"left",icon:(0,L.jsx)(li.Z,{})}),(0,L.jsx)(ji,{format:"center",icon:(0,L.jsx)(ci.Z,{})}),(0,L.jsx)(ji,{format:"right",icon:(0,L.jsx)(di.Z,{})}),(0,L.jsx)(ji,{format:"justify",icon:(0,L.jsx)(b.ypk,{})}),t]})}holdEditorInputEvents(){const{plugins:e,editor:t}=this;He()(Di).call(Di,(n=>{const a=t[n];t[n]=function(){const o=Qr()(ei()(e).call(e));let r=!1;for(var i=arguments.length,s=new Array(i),l=0;l(t.get(n.type)?.isInline||e)(n)}bindIsVoid(){const{isVoid:e}=this.editor,{plugins:t}=this;this.editor.isVoid=n=>(t.get(n.type)?.isVoid||e)(n)}onKeyDown(e){for(const t in Bi)if((0,wi.ZP)(t,e)){e.preventDefault();const n=Bi[t];return void Ai(this.editor,n)}if("Enter"===e.key){const{selection:t}=this.editor;if(t&&Wr.e6.isCollapsed(t)){const n=this.editor.children[t.anchor.path[0]];if(n&&this.editor.isVoid(n)){e.preventDefault();const n=t.anchor.path[0]+1;if(this.editor.children[n])return void ki(this.editor,[n]);const a={type:"paragraph",children:[{text:""}]};Wr.YR.insertNodes(this.editor,a,{at:[this.editor.children.length]});const o=qr.F3.last?.(this.editor,[]);return void ki(this.editor,o?.[1])}}}}serializeV1(e){return(e=>{const t=[],n=new(i());let a=1;const o=(e,r)=>{for(const i of e){if(n.set(String(a),(0,pa.omit)({...i,parent:r},["children"])),!(0,pa.isNil)(i.text)){const e=`${i.text}`;t.push(e)}const e=a;a++,i.children&&o(i.children,String(e))}};return o(e,""),{html:t.join(""),treeMap:pi()(n)}})((0,pa.cloneDeep)(e))}deserializeV1(e,t){return Ci(e,(0,pa.cloneDeep)(t))}}var Gi=n(26318),Zi=n.n(Gi),Hi=n(33278),zi=n.n(Hi);const qi=e=>{const{selection:t}=e;let n;return n=null!==t&&null!==t.anchor?e.children[t.anchor.path[0]]:null,n},Yi=e=>{let{noStyle:t=!1,type:n}=e;return{type:t?"no-style-text":n||"paragraph",children:[{text:""}]}},Vi=(e,t,n)=>{var a;const o=((e,t)=>!(0,pa.isNil)(t)&&!Wr.ML.leaf(e,t)?.[0]?.text)(e,e.selection);let r;if(e?.selection?.anchor?.path){const t=Wr.y$.parent(e?.selection?.anchor?.path);r=Wr.NB.get(e,t)?.type}const i=(0,pa.cloneDeep)(e?.selection),s=xi()(a=["list-item","step-list-item"]).call(a,r)?{type:r,children:[t]}:t;Wr.YR.insertNodes(e,n?[s,Yi({type:r})]:s),o&&i&&(Wr.YR.select(e,i),(e=>{if(!e.selection||!Wr.e6.isCollapsed(e.selection)||0!==e.selection.anchor.offset)return Wr.ML.deleteBackward(e);const t=Wr.y$.parent(e.selection.anchor.path);if(Wr.y$.hasPrevious(t)){const n=Wr.y$.previous(t),a=Wr.NB.get(e,n);if(Wr.ML.isVoid(e,a))return Wr.YR.removeNodes(e)}Wr.ML.deleteBackward(e)})(e))},Ki=()=>(document?.querySelector("#preview-iframe")?.contentWindow||window).document.querySelector(".editor-inner");var Ji=n(86368),Xi=n(5290),Qi=n(14912),$i=n(28494),es=n(61736),ts=n(45153),ns=n(84858),as=n(78976),os=n(83049),rs=n(7587),is=n(69957),ss=n(37265);const ls="l2pGMBAoUizzTV7NR36b",cs="HzgNcoffYTvwWYqkW49e",ds="image",us=["png","jpg","gif","webp","image"],ps=e=>{if(!e)return!1;if(!(e=>Zi()(e).call(e,"https://"))(e))return!1;let t="";try{t=new(zi())(e).pathname.split(".").pop()||""}catch(n){}return xi()(us).call(us,t)},gs=e=>{let{editor:t,element:n,path:a}=e;const{editable:o}=Vr(),[r]=Ji.Z.useForm();if(!o)return null;const i=(0,L.jsxs)(Ji.Z,{initialValues:n,form:r,children:[(0,L.jsx)(Ji.Z.Item,{labelCol:{style:{width:"auto",flex:1}},wrapperCol:{style:{width:"auto",flex:3}},label:"\u8df3\u8f6c\u5730\u5740",field:"href",children:(0,L.jsx)(Xi.Z,{})}),(0,L.jsx)(Ji.Z.Item,{labelCol:{style:{width:"auto",flex:1}},wrapperCol:{style:{width:"auto",flex:3}},label:"\u56fe\u7247\u5730\u5740",field:"url",children:(0,L.jsx)(Xi.Z,{})}),(0,L.jsx)(Ji.Z.Item,{labelCol:{style:{width:"auto",flex:1}},wrapperCol:{style:{width:"auto",flex:3}},label:"alt",field:"alt",children:(0,L.jsx)(Xi.Z,{})}),(0,L.jsx)(Ji.Z.Item,{labelCol:{style:{width:"auto",flex:1}},wrapperCol:{style:{width:"auto",flex:3}},label:"\u56fe\u7247\u5bbd\u5ea6",field:"width",children:(0,L.jsx)(Qi.Z,{getPopupContainer:Ki,options:[{label:"100%",value:"100%"},{label:"75%",value:"75%"},{label:"50%",value:"50%"}]})})]});return(0,L.jsxs)("div",{className:cs,children:[(0,L.jsx)(U.Z,{onMouseDown:()=>{Wr.YR.removeNodes(t,{at:a})},icon:(0,L.jsx)(os.Z,{})}),(0,L.jsx)($i.Z,{icon:null,onOk:()=>{const e=r.getFieldsValue();Wr.YR.setNodes(t,e)},title:i,getPopupContainer:Ki,children:(0,L.jsx)(U.Z,{icon:(0,L.jsx)(rs.Z,{})})})]})},ms=(e,t,n)=>{Vi(e,{type:"image",url:t,alt:n,children:[{text:""}]})},hs={name:ds,type:"element",renderElement:e=>{let{attributes:t,children:n,element:a}=e;const o=(0,qr._7)(),r=qr.F3.findPath(o,a),i=(0,qr.vt)(),{editable:s}=Vr(),l=(0,L.jsx)("img",{src:a.url,alt:a.alt,width:"100%",height:"100%",style:{width:"100%",height:"100%"}});return(0,L.jsxs)("div",{...t,children:[n,(0,L.jsx)("div",{contentEditable:!1,style:{position:"relative",display:"flex",justifyContent:"center"},children:(0,L.jsxs)("div",{className:ls,style:{width:a.width||"100%",boxShadow:i?"0 0 0 3px #B4D5FF":"none"},children:[a.href&&!s?(0,L.jsx)("a",{href:a.href,children:l}):l,i&&(0,L.jsx)(gs,{editor:o,element:a,path:r})]})})]})},toolBarBtn:()=>{const e=(0,qr._7)(),[t,n]=(0,c.useState)(!1),[a,o]=(0,c.useState)([]);const r=(0,L.jsxs)(es.Z,{children:[(0,L.jsx)(es.Z.Item,{onMouseDown:t=>{t.preventDefault();const n=window.prompt("Enter the URL of the image:");!n||ps(n)?n&&ms(e,n):alert("URL is not an image")},children:"\u8f93\u5165\u56fe\u7247"},"input"),(0,L.jsx)(ts.Z,{fileList:a,limit:1,accept:"image/*",onChange:(t,a)=>{"error"===a.status&&(n(!1),ns.Z.error("\u4e0a\u4f20\u5931\u8d25")),a?.response?.url?(ms(e,a.response.url,a.name),o([]),n(!1)):o(t)},customRequest:async function(e){n(!0);const t=ss.m.getInstance(),a=await(t.getInjectMethod("uploadImg")?.(e.file));a?.code===ss.B.SUCCESS?e.onSuccess(a?.data):e.onError()}})]});return(0,L.jsx)(as.Z,{popupVisible:!!t||void 0,unmountOnExit:!1,droplist:r,getPopupContainer:e=>e.parentElement||Ki(),children:(0,L.jsx)(U.Z,{icon:(0,L.jsx)(is.Z,{})})})},isVoid:e=>e.type===ds,insertData:(e,t)=>{const n=e.getData("text/plain"),{files:a}=e;if(a&&a.length>0){const e=ss.m.getInstance();for(const n of a){const[a]=n.type.split("/");if("image"===a){const a=`image-upload-${n.name||""}`;ns.Z.loading({id:a,content:"image uploading...",duration:0}),e.getInjectMethod("uploadImg")?.(n).then((e=>{e.code===ss.B.SUCCESS?(e.data?.url&&ms(t,e.data?.url),ns.Z.success({id:a,content:"image uploaded",duration:2e3})):ns.Z.error({id:a,content:"upload fail",duration:2e3})})).catch((()=>{ns.Z.error({id:a,content:"upload fail",duration:2e3})}))}}return!0}return!!ps(n)&&(ms(t,n),!0)}};var _s=n(94932),fs=n(41463),vs=n(54727),ys=n(97883),bs=n(1461);const Cs={hyperlink:"ILmJ040gy8JnvdsmWpbf"},ws=U.Z.Group,ks="hyperlink",Es=e=>{let{value:t,onChange:n}=e;const a={_blank:!0,_self:!1};return(0,L.jsx)(ys.Z,{checked:a[t||""]??!0,onChange:e=>{var t;He()(t=_i()(a)).call(t,(t=>{a[t]===e&&n?.(t)}))}})},xs=e=>{let{selected:t,editor:n,children:a,leaf:o}=e;const[r]=Ji.Z.useForm(),{editable:i}=Vr();if(!i)return a;const s=()=>{const e=r.getFieldsValue();Wr.YR.setNodes(n,e,{match:e=>Boolean(e[ks])})},l=(0,L.jsxs)(Ji.Z,{initialValues:o,form:r,contentEditable:!1,onChange:e=>{(0,ce.FS)(e.href)?r.setFieldValue("rel","dofollow"):e.href&&r.setFieldValue("rel","nofollow")},children:[(0,L.jsx)(Ji.Z.Item,{labelCol:{style:{width:"auto",flex:1}},wrapperCol:{style:{width:"auto",flex:3}},label:"\u94fe\u63a5\u5730\u5740",field:"href",children:(0,L.jsx)(Xi.Z,{})}),(0,L.jsx)(Ji.Z.Item,{labelCol:{style:{width:"auto",flex:1}},wrapperCol:{style:{width:"auto",flex:3}},label:"\u65b0\u6807\u7b7e\u9875",field:"target",children:(0,L.jsx)(Es,{})}),(0,L.jsx)(Ji.Z.Item,{labelCol:{style:{width:"auto",flex:1}},wrapperCol:{style:{width:"auto",flex:3}},label:"SEO\u6807\u7b7e",field:"rel",children:(0,L.jsx)(Qi.Z,{getPopupContainer:Ki,options:[{label:"dofollow",value:"dofollow"},{label:"nofollow",value:"nofollow"}]})})]});return(0,L.jsx)(L.Fragment,{children:(0,L.jsx)(bs.Z,{getPopupContainer:Ki,popupVisible:t,popup:()=>(0,L.jsxs)(ws,{children:[(0,L.jsx)($i.Z,{style:{width:400},icon:null,onOk:s,title:l,getPopupContainer:Ki,children:(0,L.jsx)(U.Z,{className:Cs["tool-bar-btn"],icon:(0,L.jsx)(rs.Z,{}),onClick:e=>{e.preventDefault()}})}),(0,L.jsx)(U.Z,{className:Cs["tool-bar-btn"],icon:(0,L.jsx)(_s.Z,{}),onClick:e=>{e.preventDefault(),Wr.YR.setNodes(n,{[ks]:void 0,href:void 0,target:void 0,rel:void 0},{match:e=>Boolean(e[ks])})}}),(0,L.jsx)(U.Z,{className:Cs["tool-bar-btn"],icon:(0,L.jsx)(fs.Z,{}),onClick:e=>{e.preventDefault(),window.open(o.href)}})]}),children:a})})},Is={name:ks,type:"leaf",renderLeaf:e=>{var t;let{attributes:n,children:a,leaf:o,text:r}=e;const i=(0,qr._7)(),s=(0,qr.vt)(),l=qr.F3.findPath(i,r),c=Boolean(s&&i.selection&&Wr.y$.equals(l,i.selection?.anchor.path)),{articleTitle:d,path:u,editable:g}=Vr(),m=Sa()(t=["tools","resource","create"]).call(t,(e=>u?.split("/")?.includes(e))),h=(0,ce.Mo)(o.href,{enterFrom:"anchor",currentPage:"article_page",articleType:m,articleTitle:d}),_=g?{...n}:{href:h,target:o.target||"_blank",rel:o.rel,onClick:()=>{(new p.D).report({action:"click_anchor",anchor_link:o.href,anchor_seo:o.rel,is_open_new:"_self"===o.target?0:1,article_type:m,position:"article"})},...n};return(0,L.jsx)(xs,{editor:i,selected:c,leaf:o,children:(0,L.jsx)("a",{..._,className:Cs.hyperlink,children:Mi({attributes:{},children:a,leaf:o,text:r})})})},toolBarBtn:()=>(0,L.jsx)(Li,{format:ks,icon:(0,L.jsx)(vs.Z,{})})},Ts="ZXOlPYigFmpt8bg2xHck",Ns="CefeaPF0X7ljJiQuIkni",Ss="dHtjYssSdYdWiVjHqmzo",Rs="J8_ZamvXd6knz4tLMzIE",Ps="INJqolI588oNQ3jZKK5O",As="cHMZM4OfP47nN7kM1aYp",js="uTTEN13WpDZUgDlCKNaK",Ls="tpZF566UtFwzDsozUimD",Os="yvwmVQBNqiFTxcciwznf",Ds="wn8_MbTc9evZkIDWt3jI",Ms="o9jmmkXvyEKiRHvQwHeA";var Fs;!function(e){e.ver="0",e.hor="1"}(Fs||(Fs={}));const Us="pros-and-cons",Bs="pros-and-cons-item",Ws="pros-header",Gs="cons-header",Zs="pros-and-cons-body",Hs=[Ws,Bs,Gs,Zs],zs=e=>{let{editor:t,path:n,selected:a,layout:o}=e;const{editable:r}=Vr();return a&&r?(0,L.jsxs)("div",{style:{position:"absolute",top:0,left:0},children:[(0,L.jsx)(U.Z,{contentEditable:!1,onClick:()=>{Wr.YR.setNodes(t,{layout:o===Fs.hor?Fs.ver:Fs.hor},{at:n})},children:"\u5207\u6362\u5e03\u5c40"}),(0,L.jsx)(U.Z,{contentEditable:!1,onClick:()=>{Wr.YR.removeNodes(t,{at:n})},icon:(0,L.jsx)(os.Z,{})})]}):null},qs=e=>{let{attributes:t,children:n,element:a}=e;const{layout:o}=a,r=(0,qr._7)(),i=qr.F3.findPath(r,a),s=(0,qr.vt)();return(0,L.jsxs)("div",{...t,className:j()(Ts,o===Fs.hor?Rs:Ns),children:[(0,L.jsx)(zs,{editor:r,path:i,selected:s,layout:o}),n]})},Ys=e=>{let{attributes:t,children:n}=e;return(0,L.jsx)("div",{className:Ss,...t,children:n})},Vs=e=>{let{attributes:t,children:n}=e;return(0,L.jsxs)("div",{className:j()(Ps,As),...t,children:[(0,L.jsx)(b.pXF,{className:j()(Os,Ds)}),n]})},Ks=e=>{let{attributes:t,children:n}=e;return(0,L.jsxs)("div",{className:j()(Ps,js),...t,children:[(0,L.jsx)(b.UgH,{className:j()(Os,Ms)}),n]})},Js=e=>{let{attributes:t,children:n}=e;return(0,L.jsx)("div",{className:Ls,...t,children:n})},Xs={name:Us,matchNames:Hs,type:"element",renderElement:e=>{const{element:t}=e;switch(t.type){case Us:return(0,L.jsx)(qs,{...e});case Bs:return(0,L.jsx)(Ys,{...e});case Ws:return(0,L.jsx)(Vs,{...e});case Gs:return(0,L.jsx)(Ks,{...e});case Zs:return(0,L.jsx)(Js,{...e});default:return null}},toolBarBtn:()=>{const e=(0,qr._7)(),t=qi(e)?.type===Us;return(0,L.jsx)(U.Z,{contentEditable:!1,onClick:t=>{t.preventDefault();const n={type:Us,layout:Fs.hor,children:[{type:Bs,children:[{type:Ws,children:[Yi({noStyle:!0})]},{type:Zs,children:[Yi({})]}]},{type:Bs,children:[{type:Gs,children:[Yi({noStyle:!0})]},{type:Zs,children:[Yi({})]}]}]};Vi(e,n,!0)},disabled:t,children:(0,L.jsx)(b.x86,{})})},deleteBackward:(e,t)=>{const{selection:n}=t;if(n&&Wr.e6.isCollapsed(n)){const e=Wr.ML.nodes(t,{match:e=>!Wr.ML.isEditor(e)&&Wr.W_.isElement(e)&&xi()(Hs).call(Hs,e.type)});for(const a of e)if(a){const[,e]=a,o=Wr.ML.start(t,e);if(Wr.E9.equals(n.anchor,o))return!0}}return!1},deleteForward:(e,t)=>{const{selection:n}=t;if(n&&Wr.e6.isCollapsed(n)){const e=Wr.ML.nodes(t,{match:e=>!Wr.ML.isEditor(e)&&Wr.W_.isElement(e)&&xi()(Hs).call(Hs,e.type)});for(const a of e)if(a){const[,e]=a,o=Wr.ML.end(t,e);if(Wr.E9.equals(n.anchor,o))return!0}}return!1}},Qs="WOzptm44rk6Yavjsur2n",$s="rbomN0Fl5o6gZijhNbxT",el="eHmEULBVekkoyN8TcoNv",tl="step-list",nl={name:tl,type:"element",renderElement:e=>{let{attributes:t,children:n,element:a}=e;const o={textAlign:a.align};return(0,L.jsx)("ol",{className:j()(Qs,"richeditor-ol"),style:o,...t,children:n})},toolBarBtn:()=>{const e=(0,qr._7)(),t=qi(e)?.type===tl;return(0,L.jsx)(U.Z,{style:{background:t?"#ECEDEE":"#fff"},onClick:()=>{Wr.YR.unwrapNodes(e,{match:e=>!Wr.ML.isEditor(e)&&Wr.W_.isElement(e)&&"step-list"===e.type,split:!0});const n={type:t?"paragraph":"step-list-item"};if(Wr.YR.setNodes(e,n),!t){const t={type:"step-list",children:[]};Wr.YR.wrapNodes(e,t)}},icon:(0,L.jsx)(b.$9J,{})})}},al=[tl,"numbered-list","bulleted-list"],ol=["step-list-item","list-item"],rl={name:"step-list-item",type:"element",renderElement:e=>{let{attributes:t,children:n,element:a}=e;const{editable:o}=Vr(),r=(0,qr.vt)(),i=(0,qr._7)(),s=qr.F3.findPath(i,a),l=a?.hideIndex,c={textAlign:a.align,whiteSpace:"pre-wrap",gridColumnStart:l?1:2,gridColumnEnd:-1};return(0,L.jsxs)(L.Fragment,{children:[!l&&(0,L.jsxs)("span",{contentEditable:!1,className:el,children:[o&&(0,L.jsx)(U.Z,{size:"small",style:{position:"absolute",left:-90,visibility:r&&!l?"unset":"hidden"},contentEditable:!1,onClick:()=>{Fi(i,s,a)},children:"\u9690\u85cf\u6807\u8bb0"}),(0,L.jsx)("span",{className:$s,children:`${I.oc.t("web_cms_text_resourceStep",{},"Step")} `})]}),(0,L.jsxs)("li",{style:c,...t,children:[o&&(0,L.jsx)(U.Z,{size:"small",style:{position:"absolute",left:-90,visibility:r&&l?"unset":"hidden"},contentEditable:!1,onClick:()=>{Fi(i,s,a)},children:"\u663e\u793a\u6807\u8bb0"}),n]})]})},insertData:(e,t)=>{const n=e.getData("application/x-slate-fragment"),a=atob(n),o=JSON.parse(decodeURIComponent(a))||[],r=(e=>{const{selection:t}=e;let n;if(null!==t&&null!==t.anchor){const a=[...t.anchor.path];a.length>1&&a.pop(),n=e;for(const e of a)n=n.children[e]}else n=null;return n})(t),i=[];return!!xi()(ol).call(ol,r?.type)&&(He()(o).call(o,(e=>{var t;if(xi()(t=[...al,"paragraph"]).call(t,e.type)){var n;if(xi()(ol).call(ol,e?.type)&&e?.type!==r?.type)i.push(...l()(n=e.children).call(n,(()=>xi()(ol).call(ol,e.type)?{...e,type:r?.type}:e)));i.push(...e.children)}else i.push({type:r?.type,children:[e]})})),t.insertFragment(i),!0)}};var il=n(40114),sl=n.n(il),ll=n(41977);const cl={BLOCKQUOTE:()=>({type:"block-quote"}),H1:()=>({type:"heading-two"}),H2:()=>({type:"heading-two"}),H3:()=>({type:"heading-three"}),LI:()=>({type:"list-item"}),OL:()=>({type:"numbered-list"}),P:()=>({type:"paragraph"}),UL:()=>({type:"bulleted-list"}),IMG:()=>({type:"image"})},dl={EM:()=>({italic:!0}),I:()=>({italic:!0}),S:()=>({strikethrough:!0}),B:()=>({bold:!0}),U:()=>({underline:!0})};function ul(e){return e.attributes?.getNamedItem?.("class")?.value.match(/done/g)?null:function(e){var t,n;if(3===e.nodeType){if("O:P"===e.parentNode?.nodeName&&"P"===e.parentNode?.parentNode?.nodeName)return e.textContent;if(e.textContent?.match(/^[\s]*$/gm))return null;{const t=/\n(?!\n)/g;return e.textContent=e.textContent?.replace(t," ")||null,e.textContent}}if(1!==e.nodeType)return null;if("BR"===e.nodeName)return"\n";const{nodeName:a}=e;let o=e;"PRE"===a&&e.childNodes[0]&&"CODE"===e.childNodes[0].nodeName&&(o=e.childNodes[0]);const r=sl()(t=l()(n=Qr()(o.childNodes)).call(n,(e=>ul(e)))).call(t);if("BODY"===e.nodeName){const e=(0,ll.tZ)("element",{type:"p",className:"P"},[{text:" "}]);return r.unshift(e),(0,ll.tZ)("fragment",{},r)}if(cl[a]){if("IMG"===a){const t=e?.getAttribute?.("src"),n=cl[a]();return n.url=t,(0,ll.tZ)("element",n,r)}const t=cl[a](e);return(0,ll.tZ)("element",t,r)}if(dl[a]){const t=dl[a](e);return l()(r).call(r,(e=>(0,ll.tZ)("text",t,e)))}return r}(e)}const pl=[hs,Is,Xs,nl,rl,{name:"DocxDeserializerPlugin",type:"element",insertData:(e,t)=>{try{const n=e.getData("text/html");if(n){const e=(new DOMParser).parseFromString(n,"text/html");if(!function(e){const t=Qr()(e.childNodes),n="mso-";if(e.getAttribute("style")?.includes(n))return!0;for(;t.length;){const e=t.pop();if(e?.getAttribute?.("style")?.includes?.(n)||Qr()(e?.classList||[])?.some?.((e=>e?.startsWith("Mso"))))return!0;e?.childNodes&&t.push(...Qr()(e?.childNodes))}return!1}(e.body))return!1;const a=ul(e.body);if(a)return t.insertFragment(a),!0}}catch(n){}return!1}},{name:"words-count",type:"element",toolBarBtn:()=>{const e=(0,qr.ui)(),[t,n]=(0,c.useState)([]),{run:a}=(0,Zr.Z)((e=>{const t=[...e],a=[];for(;t.length;){const e=t.pop();e?.text&&a.push(e.text),e?.children&&t.push(...e.children)}n(a)}),500),{wordLength:o,wordCount:r}=(0,c.useMemo)((()=>{const e=t.join("").length;let n=0;return He()(t).call(t,(e=>{n+=function(e){const t=/[a-zA-Z\xc0-\xd6\xd8-\xf6\xf8-\xff]+/g;let n=e.match(t)?.length||0;return n+=e.replace(t,"").replace(/[!-\/:-@\[-`\{-~\u3000-\u303F\uFF00-\uFFEF]/g,"").replace(/[ \t\r\n\f\v]+/g,"").length,n}(e)})),{wordCount:n,wordLength:e}}),[t]);return(0,c.useEffect)((()=>{a(e.children)}),[e.children,a]),(0,L.jsxs)(U.Z,{children:["words:",r," , characters:",o]})}}],gl="L3w1aBvEqyjVjF6iurLw",ml="ewSmHjPo9pBhz0FnSf2C",hl="ZDPZwqWHsgnrwXI4aqcn",_l="UMhD4uBfakvREuHxtrwO",fl="prRk3gKwyJAnRV8iXPRJ",vl="cLnDh27_fGib1uVJDeiB",yl=[{key:"buttonText",label:"\u6309\u94ae\u6807\u9898",type:"input",needTranslation:!0},{key:"buttonUrl",label:"\u6309\u94ae\u94fe\u63a5",type:"input"},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"mobileButtonText",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"mobileButtonURL",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"mobileButtonAction",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"secondButtonText",label:"\u8f85\u52a9\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"secondButtonURL",label:"\u8f85\u52a9\u6309\u94ae\u94fe\u63a5",type:"input"},{key:"secondButtonAction",label:"\u8f85\u52a9\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"secondMobileButtonText",label:"\u79fb\u52a8\u7aef\u8f85\u52a9\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"secondMobileButtonURL",label:"\u79fb\u52a8\u7aef\u8f85\u52a9\u6309\u94ae\u94fe\u63a5",type:"input"},{key:"secondMobileButtonAction",label:"\u79fb\u52a8\u7aef\u8f85\u52a9\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"creditTip",label:"\u63d0\u793a",type:"input"}],bl=(e,t)=>n=>(0,L.jsx)(e,{...t,...n});var Cl=n(76497),wl=n(79449),kl=n(89736),El=n(32482);const xl="VX1lDGZtBxPRGxuFcAR8",Il="YE25hw6T9W9CSJ2TYA0i",Tl="uXqWC3IUvC30lUXkwaGn",Nl="Bf6gYERqJRRuGMKMkPlD",Sl="_N4DCgURXRHSMoFsafgO",Rl="NXbu5x7RDZlWuc_ZRAZb",Pl="Dor13o5P6cZD6MoXKyFQ",Al=[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"buttonText",label:"windows\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonURL",label:"windows\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"buttonAction",label:"windows\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"buttonMacText",label:"mac\u7cfb\u7edf\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonMacURL",label:"mac\u7cfb\u7edf\u4e0b\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"buttonMacAction",label:"mac\u7cfb\u7edf\u4e0b\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv},{key:"backVideoURL",label:"\u80cc\u666f\u89c6\u9891",type:"video"},{key:"backImageURL",label:"\u80cc\u666f\u56fe\u7247",type:"image"},{key:"mobileTitle",label:"\u79fb\u52a8\u7aef\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"mobileContent",label:"\u79fb\u52a8\u7aef\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"mobileButtonText",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"mobileButtonURL",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"mobileButtonAction",label:"\u79fb\u52a8\u7aef\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv}],jl=e=>{const{title:t,content:n,buttonText:a,buttonURL:o,backVideoURL:r,backImageURL:i,buttonMacText:s,buttonAction:l,buttonMacAction:m,buttonMacURL:h,mobileTitle:_,mobileContent:f,mobileButtonText:y,mobileButtonURL:b,mobileButtonAction:C,downloadLinkGroup:w}=e,{env:k,isMac:E,isWin:x}=(0,g.ZJ)(),I="mobile"===k,{data:T,run:N}=(0,wl.ZP)(kl.X.getDownloadLinkGroup,{cacheKey:"LvTCC.getDownloadLinkGroup"}),R=(0,El.a)(),P=I?_:t,A=I?f:n;let O=I?y:a;E&&(O=s);let D=I?b:w?.win??T?.data?.win??o;E&&(D=w?.mac??T?.data?.mac??h);const M=r,F=i;let U=I?C:l;E&&(U=m);const W=E||x||I,G=`${u.q$.PICTURE}_${P}`,[Z]=(0,S._F)({position:G,...e}),H=(0,S.jI)({position:G,...e});return(0,c.useEffect)((()=>{w||N(!1,x&&(0,Cl.pM)({utm_source:R.get("utm_source")??"",utm_medium:R.get("utm_medium")??""}))}),[w,x]),(0,L.jsxs)("div",{ref:Z,className:j()({[xl]:!0}),children:[M?(0,L.jsx)("video",{className:Il,src:M,autoPlay:!0,muted:!0}):null,F?(0,L.jsx)("img",{className:Tl,src:F,width:1080,height:1920,alt:"tool video introduction background image"}):null,(0,L.jsxs)("div",{className:Nl,children:[(0,L.jsx)("h1",{className:Sl,children:P}),(0,L.jsx)("div",{className:Rl,children:A}),W&&(0,L.jsx)(v.Z,{className:Pl,type:"primary",size:"large",onClick:()=>{"copy_link"===U?(navigator.clipboard.writeText(D),(new p.D).report({...H,action:"copy_link",action_url:D,position:`${u.q$.PICTURE}_${P}`})):(window.open(D),(new p.D).report({...H,action:U,action_url:D,position:`${u.q$.PICTURE}_${P}`})),(new B.eG).reportForArticlePageButton(U,{...H,position:`${u.q$.PICTURE}_${P}`,current_page:d.WB.PAGE_ARTICLE})},children:O})]})]})},Ll="eoMbMPT8OKImfZwVfUdS",Ol="Ole06fQsqYt3nysptTNS",Dl="e9d0KuhtZGm6lZuuj_Tk",Ml="NVa_zqH10R0acjeIi906",Fl="Xhsl9PtJtT3LlzlRv3y8",Ul="fGVYljzbpJWlu6EhDsrp",Bl="jV8WyALIBnjdI1YOH_Fc",Wl=e=>{const{title:t,content:n,imageUrl:a,imagePosition:o}=e,[r]=(0,S._F)({position:`${u.q$.PICTURE}_${t}`,...e});return(0,L.jsxs)("div",{ref:r,className:j()({[Ll]:!0,[Ml]:"after"===o,[Dl]:"before"===o}),children:[(0,L.jsx)("img",{className:j()(Ol,Dl),src:a,loading:"lazy",alt:t}),(0,L.jsxs)("div",{className:Fl,children:[(0,L.jsx)("div",{className:Ul,children:t}),(0,L.jsx)("div",{className:Bl,children:n})]}),(0,L.jsx)("img",{className:j()(Ol,Ml),src:a,loading:"lazy",alt:t})]})},Gl=[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"backgroundCode",label:"\u80cc\u666f\u8272(\u652f\u6301\u6e10\u53d8)",type:"input"},{key:"features",label:"features \u5217\u8868",type:"list",formList:[{key:"imageUrl",label:"\u4ecb\u7ecd\u56fe\u7247",type:"image"},{key:"title",label:"\u4ecb\u7ecd\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0}]},{key:"buttonText",label:"\u6309\u94ae\u6807\u9898",type:"input",needTranslation:!0},{key:"buttonUrl",label:"\u6309\u94ae\u94fe\u63a5",type:"input"},{key:"buttonAction",label:"\u6309\u94ae\u64cd\u4f5c\u6548\u679c",type:"select",options:T.uv}],Zl=e=>{var t;const n=l()(t=e.features||[]).call(t,(e=>({...e,url:""}))),a={...e,subTitle:"",features:n};return(0,L.jsx)(xt,{...a,gradientColor:""})},Hl="vjkGqoIDQ9yiThrknmpP",zl="jESnlM2SPb8oAOL2Yd3h",ql="WDLjOMNVmuf2u1Cnk2mS",Yl="bjXO3KlLy3WXd_kBQukt";var Vl,Kl,Jl,Xl,Ql=n(92455);!function(e){e.Tool="tool",e.Resource="resource",e.Create="create",e.Pc="pc",e.Hide="hide"}(Jl||(Jl={})),function(e){e.Group="group"}(Xl||(Xl={}));const $l=[{label:"Tool \u9875\u9762",value:Jl.Tool},{label:"Resource \u9875\u9762",value:Jl.Resource},{label:"Create \u9875\u9762",value:Jl.Create},{label:"PC\u4ecb\u7ecd \u9875\u9762",value:Jl.Pc}],ec=[{label:"\u805a\u5408\u9875",value:Xl.Group}],tc=[{name:"Tool Introduction",label:"Tool Introduction",component:de,props:{gradientColor:"rgba(199, 255, 245, .7)",title:"Free Online Editor",content:"Grow your YouTube audience with CapCut, a simple yet effective online youtube video editor & maker. ",buttonText:"Try for free",buttonURL:"https://www.capcut.com/signup",buttonLabel:"No credit card required",coverURL:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc",coverAlt:"Free Online Editor",enableYoutubeModal:!0,youtubeModalTitle:"Watch the Video",youtubeModalEmbedCode:'',youtubeModalFooterText:"Try for free",youtubeModalFooterHref:"https://www.capcut.com/editor"},propsSchema:[{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u989c\u8272\u8272\u503c",type:"input"},{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonURL",label:"\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"buttonLabel",label:"\u6309\u94ae\u5e95\u90e8\u5c0f\u6807\u9898\u6587\u6848",type:"input",needTranslation:!0},{key:"coverURL",label:"\u5c01\u9762\u56fe\u7247",type:"image"},{key:"coverAlt",label:"\u5c01\u9762\u56fe\u7247\u63cf\u8ff0",type:"input",needTranslation:!0},{key:"enableYoutubeModal",label:"\u542f\u7528 Youtube \u89c6\u9891\u5f39\u7a97",type:"switch",labelTips:"\u542f\u7528\u8be5\u914d\u7f6e\u540e\uff0c\u5c01\u9762\u56fe\u7247\u4e0a\u4f1a\u5c55\u793a\u4e00\u4e2a\u64ad\u653e\u6309\u94ae"},{key:"youtubeModalTitle",label:"Youtube \u89c6\u9891\u5f39\u7a97\u6807\u9898",type:"input",labelTips:"\u5f53\u542f\u7528 Youtube \u89c6\u9891\u5f39\u7a97\u540e\uff0c\u8be5\u914d\u7f6e\u6709\u6548",needTranslation:!0},{key:"youtubeModalEmbedCode",label:"Youtube \u89c6\u9891\u5185\u5d4c\u811a\u672c",type:"textarea",labelTips:"\u5f53\u542f\u7528 Youtube \u89c6\u9891\u5f39\u7a97\u540e\uff0c\u8be5\u914d\u7f6e\u6709\u6548"},{key:"youtubeModalFooterText",label:"Youtube \u89c6\u9891\u5f39\u7a97\u5e95\u90e8\u8d85\u94fe\u63a5\u6587\u6848",type:"input",labelTips:"\u5f53\u542f\u7528 Youtube \u89c6\u9891\u5f39\u7a97\u540e\uff0c\u8be5\u914d\u7f6e\u6709\u6548",needTranslation:!0},{key:"youtubeModalFooterHref",label:"Youtube \u89c6\u9891\u5f39\u7a97\u5e95\u90e8\u8d85\u94fe\u63a5",type:"input",labelTips:"\u5f53\u542f\u7528 Youtube \u89c6\u9891\u5f39\u7a97\u540e\uff0c\u8be5\u914d\u7f6e\u6709\u6548"}],category:Jl.Tool},{name:"Tool Intro V2",label:"Tool Intro V2",component:gn,props:{title:"Free Online Video Editor",content:"Grow your YouTube audience with CapCut, a simple yet effective online youtube video editor & maker. ",buttonText:"Try for free",buttonURL:"/signup",buttonLabel:"No credit card required",buttonAction:"enter_edit_page",coverURL:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc"},propsSchema:pn,category:Jl.Tool},{name:Ql.l.ToolIntroductionNew,label:"Tool Intro New",component:re,props:oe,propsSchema:ae,category:Jl.Tool},{name:"Tool Description",label:"Tool Description",component:_e,props:he,propsSchema:[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"coverURL",label:"\u5c01\u9762\u56fe\u7247",type:"image"}],category:Jl.Tool},{name:"Tool Scene",label:"Tool Scene",component:me,props:{title:"Key features of CapCut's text to speech",gradientColor:"rgba(224, 255, 159, 0.5)",backgroundCode:"",items:[{title:"Turn text into video in 10 languages",titleIcon:"https://iph.href.lu/80x80?fg=666666&bg=cccccc",content:"Just write your text that you wish to convert to speech in the box and choose from a wide range of languages, including English, Korean, Portuguese, Turkish, Spanish, Indonesian, Russian, German, Arabic and French.",coverURL:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/scene_1.png",coverAlt:"",buttonText:"Try for free",buttonUrl:"https://www.capcut.com/editor",buttonAction:"enter_edit_page"},{title:"Convert to various voices in one click",titleIcon:"https://iph.href.lu/80x80?fg=666666&bg=cccccc",content:"Find the voice that fits your brand and needs. Enables dynamic change between realistic male and female voices and tones. Explore our library of 8 female voices and 5 male voices with more to come in the future.",coverURL:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/scene_2.png",coverAlt:"",buttonText:"Try for free",buttonUrl:"https://www.capcut.com/editor",buttonAction:"enter_edit_page"}]},propsSchema:ge,category:Jl.Tool},{name:"Tool Feature List",label:"Tool Feature List",component:Be,props:Ue,propsSchema:Me,category:Jl.Tool},{name:"Tool Capability",label:"Tool Capability",component:Ge,props:{title:"A few of the things you can do with our collaborative video editing software",items:[{title:"Marketing content",content:"All your marketing content from search engine advertising to promotional videos and more, overhauled. Take a collaborative approach to editing your marketing content online and make video editing a team activity. Use our templates, annotation tools, and a full cloud-based editing suite to craft videos designed to build awareness, drive conversions, or whatever your goal might be. ",coverURL:"https://iph.href.lu/357x357?fg=666666&bg=cccccc"},{title:"Social media videos",content:"Social media platforms like TikTok have taken the world by storm. As an enterprise, you need to leverage these channels for what they\u2019re worth so you can bring your brand to your customers and let it take center stage. Using our collaborative video editing software for these platforms is straightforward, and direct integration with TikTok makes publishing them a breeze. ",coverURL:"https://iph.href.lu/357x357?fg=666666&bg=cccccc"},{title:"Training & instructional ",content:"Video content is one of the most effective ways to train up newcomers and provide instructional content for customers and employees alike. Instead of bombarding people with hard-to-digest written content, use Capcut to easily put together informational video content that helps people get to grips with your brand. ",coverURL:"https://iph.href.lu/357x357?fg=666666&bg=cccccc"}]},propsSchema:[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"items",label:"\u6b63\u6587\u5757",type:"list",formList:[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"coverURL",label:"\u5c01\u9762\u56fe\u7247",type:"image"}]}],category:Jl.Tool},{name:"Tool FAQ",label:"Tool FAQ",component:Je,props:{gradientColor:"",title:"Why Capcut?",items:[{title:"Frequently Asked Questions Is there a free online video editor?",subTitle:"Frequently Asked Questions Is there a free online video editor?",content:"Capcut online video editor is free for you to editing video like pro online. You can easily create a video without any payment. Try Capcut online video editor now."},{title:"Can I edit video online?",content:"Capcut online video editor is free for you to editing video like pro online. You can easily create a video without any payment. Try Capcut online video editor now."},{title:"How easy is it to learn how to edit on CapCut?",content:"Capcut online video editor is free for you to editing video like pro online. You can easily create a video without any payment. Try Capcut online video editor now."},{title:"What makes CapCut the best online video editor?",content:"We have a wide range of tools and a huge creative asset library that allows you to bring your vision to life. This, together with a range of collaborative features, fast upload times, and a useful cloud-based file management system means CapCut is ideal for creating top-notch video content at home, while travelling, or at work."}]},propsSchema:[{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u989c\u8272\u8272\u503c",type:"input"},{key:"title",label:"FAQ \u5927\u6807\u9898",type:"input",needTranslation:!0},{key:"items",label:"\u89e3\u7b54\u5757",type:"list",formList:[{key:"title",label:"FAQ \u6b63\u6587\u6807\u9898",labelTips:"\u6dfb\u52a0\u591a\u4e2a\u5c0f\u6807\u9898\u548c\u6b63\u6587\u5185\u5bb9\u65f6\u4e0d\u9700\u8981\u8f93\u5165\u8be5\u5185\u5bb9\uff0c\u9ed8\u8ba4\u4f1a\u628a\u5c0f\u6807\u9898\u548c\u6b63\u6587\u5185\u5bb9\u52a0\u5165\u4e0a\u4e00\u4e2a\u6b63\u6587\u6807\u9898\u4e0b\u3002",type:"input",needTranslation:!0},{key:"subTitle",label:"FAQ \u6b63\u6587\u5c0f\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"FAQ \u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0}]}],category:Jl.Tool},{name:"FAQ",label:"FAQ",component:Ve,props:{title:"FAQ",items:[{title:"Frequently Asked Questions Is there a free online video editor?",content:"Capcut online video editor is free for you to editing video like pro online. You can easily create a video without any payment. Try Capcut online video editor now."},{title:"Can I edit video online?",content:"Capcut online video editor is free for you to editing video like pro online. You can easily create a video without any payment. Try Capcut online video editor now."},{title:"How easy is it to learn how to edit on CapCut?",content:"Capcut online video editor is free for you to editing video like pro online. You can easily create a video without any payment. Try Capcut online video editor now."},{title:"What makes CapCut the best online video editor?",content:"We have a wide range of tools and a huge creative asset library that allows you to bring your vision to life. This, together with a range of collaborative features, fast upload times, and a useful cloud-based file management system means CapCut is ideal for creating top-notch video content at home, while travelling, or at work."}],backgroundColor:"#fff"},propsSchema:[{key:"backgroundColor",label:"\u80cc\u666f\u989c\u8272\u8272\u503c",type:"input"},{key:"title",label:"FAQ \u5927\u6807\u9898",type:"input",needTranslation:!0},{key:"items",label:"\u89e3\u7b54\u5757",type:"list",formList:[{key:"title",label:"FAQ \u6b63\u6587\u6807\u9898",labelTips:"\u6dfb\u52a0\u591a\u4e2a\u5c0f\u6807\u9898\u548c\u6b63\u6587\u5185\u5bb9\u65f6\u4e0d\u9700\u8981\u8f93\u5165\u8be5\u5185\u5bb9\uff0c\u9ed8\u8ba4\u4f1a\u628a\u5c0f\u6807\u9898\u548c\u6b63\u6587\u5185\u5bb9\u52a0\u5165\u4e0a\u4e00\u4e2a\u6b63\u6587\u6807\u9898\u4e0b\u3002",type:"input",needTranslation:!0},{key:"content",label:"FAQ \u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0}]}],category:Jl.Tool},{name:"Tool Footer",label:"Tool Footer",component:e=>{const{content:t,buttonText:n,buttonURL:a,shouldHiddenWhenLogin:o,isLogin:r}=e,i=(0,c.useRef)(null),s=(0,h.Z)(),l=(0,_.B)(),[g,,f]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${s}`});return o&&r?null:(0,L.jsxs)(C.Z,{ref:g,children:[(0,L.jsx)(Xe.Z,{data:{content:t,button:{value:n}},onClickDocFooterBtn:()=>{i.current?.click(),(new p.D).report({...f,action:"enter_edit_page",position:`${u.q$.PICTURE}_${t}`})}}),(0,L.jsx)("a",{ref:i,href:(0,m.G)(a,{[d.WB.ENTER_FROM]:d.gJ.ARTICLE_PAGE_BOTTOM,[d.gJ.CURRENT_PAGE]:d.gJ.ARTICLE_PAGE,[d.gJ.ARTICLE_TITLE]:s,[d.WB.ARTICLE_TYPE]:l,[d.WB.FROM_PAGE]:d.gJ.ARTICLE_PAGE,[d.WB.DEFAULT]:`${u.q$.PICTURE}_${s}`}),target:"_blank",rel:"noreferrer"})]})},props:{content:"Content",buttonText:"Button",buttonURL:"https://www.capcut.com",shouldHiddenWhenLogin:!1},propsSchema:[{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonURL",label:"\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"shouldHiddenWhenLogin",label:"\u5904\u4e8e\u767b\u5f55\u6001\u65f6\uff0c\u4e0d\u5c55\u793a\u8be5\u7ec4\u4ef6",type:"switch"}],category:Jl.Tool},{name:"Tool StartFooterCTA",label:"StartFooterCTA",component:La,props:ja,propsSchema:Aa,category:Jl.Tool},{name:"Tool OtherTools",label:"OtherTools",component:Ma,props:{title:"More Capcut Video Editing Tools",backgroundColor:"#FFFFFF",cardBackgroundColor:"#F5F8FC",items:[{iconName:"Online Video Editor",iconSrc:"https://sf16-va.tiktokcdn.com/obj/eden-va2/ddeh7nuhdpsvbs/icon_Clip.png",toolLink:"/tools/online-video-editor",action:"enter_article_page"},{iconName:"Text to Speech",iconSrc:"https://sf16-va.tiktokcdn.com/obj/eden-va2/ddeh7nuhdpsvbs/icon_Speech.png",toolLink:"/tools/text-to-speech",action:"enter_article_page"},{iconName:"Effects & Filters",iconSrc:"https://sf16-va.tiktokcdn.com/obj/eden-va2/ddeh7nuhdpsvbs/icon_Effects.png",toolLink:"/tools/video-effect-and-filter",action:"enter_article_page"},{iconName:"Trendy Music",iconSrc:"https://sf16-va.tiktokcdn.com/obj/eden-va2/ddeh7nuhdpsvbs/icon_trendy.png",toolLink:"/tools/add-music-to-video",action:"enter_article_page"},{iconName:"Sound Effects",iconSrc:"https://sf16-va.tiktokcdn.com/obj/eden-va2/ddeh7nuhdpsvbs/icon_VoiceEffects.png",toolLink:"/tools/sound-effects",action:"enter_article_page"},{iconName:"Auto Subtitles",iconSrc:"https://sf16-va.tiktokcdn.com/obj/eden-va2/ddeh7nuhdpsvbs/icon_subtitle.png",toolLink:"/tools/add-subtitles-to-video",action:"enter_article_page"},{iconName:"Transcribe Videos",iconSrc:"https://sf16-va.tiktokcdn.com/obj/eden-va2/ddeh7nuhdpsvbs/icon_StockVideo.png",toolLink:"/tools/video-to-text",action:"enter_article_page"},{iconName:"Text Overlay",iconSrc:"https://sf16-va.tiktokcdn.com/obj/eden-va2/ddeh7nuhdpsvbs/icon_Text.png",toolLink:"/tools/add-text-to-video",action:"enter_article_page"},{iconName:"Text Overlay2",iconSrc:"https://sf16-va.tiktokcdn.com/obj/eden-va2/ddeh7nuhdpsvbs/icon_Text.png",toolLink:"/tools/add-text-to-video",action:"enter_article_page"},{iconName:"Text Overlay3",iconSrc:"https://sf16-va.tiktokcdn.com/obj/eden-va2/ddeh7nuhdpsvbs/icon_Text.png",toolLink:"/tools/add-text-to-video",action:"enter_article_page"}]},propsSchema:[{key:"title",label:"\u6807\u9898",type:"input",needTranslation:!0},{key:"backgroundColor",label:"\u80cc\u666f\u989c\u8272\u8272\u503c",type:"input"},{key:"cardBackgroundColor",label:"\u5361\u7247\u80cc\u666f\u989c\u8272\u8272\u503c",type:"input"},{key:"items",label:"\u8df3\u8f6c\u5de5\u5177\u5217\u8868",type:"list",formList:[{key:"iconName",label:"\u5de5\u5177\u540d\u79f0",type:"input",needTranslation:!0},{key:"iconSrc",label:"\u5de5\u5177\u56fe\u7247",type:"image"},{key:"iconImageAlt",label:"\u5de5\u5177\u56fe\u7247\u63cf\u8ff0",type:"input",needTranslation:!0},{key:"toolLink",label:"\u8df3\u8f6c\u94fe\u63a5",type:"input"},{key:"action",label:"\u5361\u7247\u70b9\u51fb\u6548\u679c",type:"select",options:[{key:"enter_article_page",value:"enter_article_page",label:"\u8fdb\u5165\u6587\u7ae0\u9875\uff08enter_article_page\uff09"},{key:"enter_article_group_page",value:"enter_article_group_page",label:"\u8fdb\u5165\u805a\u5408\u9875\uff08enter_article_group_page\uff09"}]}]}],category:Jl.Tool},{name:"Tool StepIntroductions",label:"StepIntroductions",component:Ha,props:Wa,propsSchema:Ba,category:Jl.Hide},{name:"Features Part",label:"Step",component:Ha,props:Wa,propsSchema:Ba,category:Jl.Tool},{name:"Tool BusinessIntegration",label:"Integrations",component:e=>{const[t]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${e.title}`});return(0,L.jsx)($a,{...e,ref:t})},props:{title:"Capcut Online Video Editor is Integrate with",icons:[{alt:"Dropbox",src:"https://sf16-sg.tiktokcdn.com/obj/eden-sg/ddeh7nuhdpsvbs/Dropbox.png"},{alt:"Google Drive",src:"https://sf16-sg.tiktokcdn.com/obj/eden-sg/ddeh7nuhdpsvbs/Google drive.png"}]},propsSchema:[{key:"title",label:"\u6807\u9898",type:"input",needTranslation:!0},{key:"icons",label:"icon \u5217\u8868",type:"list",formList:[{key:"alt",label:"icon\u515c\u5e95\u6587\u672c",type:"input",needTranslation:!0},{key:"src",label:"icon \u56fe\u7247",type:"image"}]}],category:Jl.Tool},{name:"Tool Internal Links",label:"Internal Links",component:It,props:{gradientColor:"#F0F1FF",title:"More for Capcut Online Video Editor",array:[{imageSrc:"https://dummyimage.com/412x280/000/fff.png",imageAlt:"Main title",title:"Main title",content:"Introduction Introduction Introduction Introduction ",href:"https://www.capcut.com/"},{imageSrc:"https://dummyimage.com/412x280/000/fff.png",imageAlt:"Main title",title:"Main title",content:"Introduction Introduction Introduction Introduction ",href:"https://www.capcut.com/"},{imageSrc:"https://dummyimage.com/412x280/000/fff.png",imageAlt:"Main title",title:"Main title",content:"Introduction Introduction Introduction Introduction ",href:"https://www.capcut.com/"}]},propsSchema:[{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u989c\u8272\u8272\u503c",type:"input"},{key:"title",label:"\u5927\u6807\u9898",type:"input",needTranslation:!0},{key:"array",label:"\u5185\u94fe\u5361\u7247",type:"list",formList:[{key:"title",label:"\u5361\u7247\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u5361\u7247\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"href",label:"\u8d85\u94fe\u63a5",type:"input"},{key:"imageSrc",label:"\u5c01\u9762\u56fe\u7247",type:"image"},{key:"imageAlt",label:"\u5c01\u9762\u56fe\u7247\u63cf\u8ff0",type:"input",needTranslation:!0}]}],category:Jl.Tool},{name:"Tool User Comments",label:"User Comments",component:Wt,props:{title:"Meet the creators making the impossible with CapCut",backgroundColor:"#fff",cardBackgroundColor:"#F5F8FC",duration:6,list:[{comment:"Runway just made it possible. I wouldn\u2019t have felt comfortable spending $30,000 on a shoot if @CapCut didn\u2019t exist.",avatar:"https://dummyimage.com/200x200/000/fff.png&text=user_comments",userName:"Vera Drew1",date:"May 18"},{comment:"Runway just made it possible. I wouldn\u2019t have felt comfortable spending $30,000 on a shoot if @CapCut didn\u2019t exist.",avatar:"https://dummyimage.com/200x200/000/fff.png&text=user_comments",userName:"Vera Drew2",date:"May 18"},{comment:"Runway just made it possible. I wouldn\u2019t have felt comfortable spending $30,000 on a shoot if @CapCut didn\u2019t exist.",avatar:"https://dummyimage.com/200x200/000/fff.png&text=user_comments",userName:"Vera Drew3",date:"May 18"},{comment:"Runway just made it possible. I wouldn\u2019t have felt comfortable spending $30,000 on a shoot if @CapCut didn\u2019t exist.",avatar:"https://dummyimage.com/200x200/000/fff.png&text=user_comments",userName:"Vera Drew4",date:"May 18"},{comment:"Runway just made it possible. I wouldn\u2019t have felt comfortable spending $30,000 on a shoot if @CapCut didn\u2019t exist.",avatar:"https://dummyimage.com/200x200/000/fff.png&text=user_comments",userName:"Vera Drew5",date:"May 18"},{comment:"Runway just made it possible. I wouldn\u2019t have felt comfortable spending $30,000 on a shoot if @CapCut didn\u2019t exist.",avatar:"https://dummyimage.com/200x200/000/fff.png&text=user_comments",userName:"Vera Drew6",date:"May 18"}]},propsSchema:[{key:"title",label:"\u6807\u9898",type:"input",needTranslation:!0},{key:"backgroundColor",label:"\u80cc\u666f\u989c\u8272\u8272\u503c",type:"input"},{key:"cardBackgroundColor",label:"\u5361\u7247\u80cc\u666f\u989c\u8272",type:"input"},{key:"duration",labelTips:"\u6eda\u52a8\u8fc7\u4e00\u4e2a\u8bc4\u8bba\u7684\u7528\u65f6",label:"\u6eda\u52a8\u901f\u5ea6",type:"input"},{key:"list",label:"\u7528\u6237\u8bc4\u8bba",type:"list",labelTips:"\u9700\u89816\u4e2a\u4ee5\u4e0a\u624d\u80fd\u6eda\u52a8",formList:[{key:"comment",label:"\u7528\u6237\u8bc4\u8bba",type:"input",needTranslation:!0},{key:"avatar",label:"\u7528\u6237\u5934\u50cf",type:"image"},{key:"avatarImageAlt",label:"\u7528\u6237\u5934\u50cf\u63cf\u8ff0",type:"input",needTranslation:!0},{key:"userName",label:"\u7528\u6237\u540d\u79f0",type:"input",needTranslation:!0},{key:"date",label:"\u8bc4\u8bba\u65e5\u671f",type:"input",needTranslation:!0}]}],category:Jl.Tool},{name:"Tool Media Endorsement",label:"Media",component:e=>{const{backgroundColor:t="#fff",iconList:n}=e||{},[a]=(0,S._F)({...e,position:`${u.q$.PICTURE}_MediaEndorsement`});return(0,L.jsx)(J,{ref:a,style:{padding:0,backgroundColor:t},children:(0,L.jsxs)("div",{className:Hl,children:[(0,L.jsx)($.xv,{classNames:[zl],label:$.JG.body2,tagType:$.Qy.span,value:I.oc.t("web_trust",{},"Trusted by")}),(0,L.jsx)("div",{className:ql,children:n?.map((e=>(0,L.jsx)("img",{src:e.imgSrc,className:Yl,alt:e.imgAlt,height:48,width:128},e?.imgSrc)))})]})})},props:{backgroundColor:"#fff",iconList:[{imgSrc:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/tiktok_logo.png"},{imgSrc:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/logo-2.png"},{imgSrc:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/logo-3.png"}]},propsSchema:[{key:"backgroundColor",label:"\u80cc\u666f\u989c\u8272\u8272\u503c",type:"input"},{key:"iconList",label:"\u5a92\u4f53icon",type:"list",formList:[{key:"imgSrc",label:"icon\u56fe\u7247",type:"image"},{key:"imgAlt",label:"icon\u56fe\u7247\u63cf\u8ff0",type:"input",needTranslation:!0}]}],category:Jl.Tool},{name:"PC Introduction",label:"PC Introduction",component:jl,props:{title:"Free Professional Desktop Video Editor",content:"Create engaging videos using CapCut free online video editor for video ads, marketing, and any other commercial needs.",buttonText:"Download for windows",buttonURL:"https://www.capcut.com/signup",buttonAction:"windows_download",buttonMacText:"Download for mac",buttonMacURL:"https://www.capcut.com/signup",buttonMacAction:"mac_download",backVideoURL:"",backImageURL:"",mobileTitle:"Free Professional Desktop Video Editor",mobileContent:"Open this link to download CapCut Desktop on your computer. Or you can find CapCut Desktop through APP Store or Microsoft Store.",mobileButtonText:"Copy Link",mobileButtonURL:"https://www.capcut.com/signup",mobileButtonAction:"copy_link"},propsSchema:Al,category:Jl.Pc},{name:"FeatIntroduction",label:"FeatIntroduction",component:Wl,props:{title:"Easy to use",content:"Unlock your productivity with a simple interface and intuitive shortcuts.",imageUrl:"https://iph.href.lu/463x463?text=Tool%20Description%20Cover&fg=666666&bg=cccccc",imagePosition:"before"},propsSchema:[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"imageUrl",label:"\u4ecb\u7ecd\u56fe\u7247",type:"image"},{key:"imagePosition",label:"\u56fe\u7247\u4f4d\u7f6e",type:"select",options:[{key:"before",value:"before",label:"\u56fe\u7247\u5728\u6587\u5b57\u524d"},{key:"after",value:"after",label:"\u56fe\u7247\u5728\u6587\u5b57\u540e"}]}],category:Jl.Pc},{name:"Addons Features",label:"Addons Features",component:Zl,props:{title:"Store, Export, Share",backgroundCode:"",features:[{title:"Upload video",content:"Never worry about data lost. Save your video instantly.",imageUrl:"https://iph.href.lu/463x463?text=Tool%20Description%20Cover&fg=666666&bg=cccccc"},{title:"Export video",content:"Support exporting your video to various size.",imageUrl:"https://iph.href.lu/463x463?text=Tool%20Description%20Cover&fg=666666&bg=cccccc"},{title:"Share video",content:"Publish your video to different social platforms.",imageUrl:"https://iph.href.lu/463x463?text=Tool%20Description%20Cover&fg=666666&bg=cccccc"}],buttonText:"Try for free",buttonUrl:"https://www.capcut.com/editor",buttonAction:"enter_edit_page"},propsSchema:Gl,category:Jl.Tool},{name:"User Scenario Part",label:"User Scenario Part",component:xt,props:{title:"Meet Your Different Needs",subTitle:"Start editing videos that look awesome and professional. Suitable for a range of creative purposes.",gradientColor:"rgba(224, 255, 159, 0.5)",backgroundCode:"",features:[{title:"Ideal for creators",content:"Capture attention on social media and reach out to more viewers with a text to voice converter.",imageUrl:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/scenepart_1.png",url:"https://iph.href.lu/463x463?text=Tool%20Description%20Cover&fg=666666&bg=cccccc"},{title:"Perfect for businesses",content:"Create consistent corporate videos and reimagine culture videos with narration.",imageUrl:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/scenepart_2.png",url:"https://iph.href.lu/463x463?text=Tool%20Description%20Cover&fg=666666&bg=cccccc"},{title:"Excellent for online learning",content:"Make inclusive and accessible videos with voiceover and drive more engaging virtual learning content.",imageUrl:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/scenepart_3.png",url:"https://iph.href.lu/463x463?text=Tool%20Description%20Cover&fg=666666&bg=cccccc"}],buttonText:"Try for free",buttonUrl:"https://www.capcut.com/editor",buttonAction:"enter_edit_page"},propsSchema:kt,category:Jl.Tool},{name:"Resource Title",label:"Title",component:e=>{const{title:t,content:n,coverURL:a,gradientColor:o}=e,[r]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${t}`});return(0,L.jsx)(C.Z,{className:bn,gradient:{color:o},ref:r,children:(0,L.jsx)(w.m,{data:{title:t,content:n,imgSrc:{src:a,webp:a}}})})},props:{title:"Title",content:"Content",coverURL:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc",gradientColor:"rgba(199, 255, 245, .7)"},propsSchema:[{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u989c\u8272\u8272\u503c",type:"input"},{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"coverURL",label:"\u5c01\u9762\u56fe\u7247",type:"image"}],category:Jl.Resource},{name:"Resource Body Content",label:"Body Content",component:e=>{const{title:t,body:n}=e,[a]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${t}`}),o=(()=>{const e=[];return He()(n).call(n,(t=>{t.content&&e.push({content:t.content}),t.image&&e.push({image:t.image,imageAlt:t.imageAlt})})),e})();return(0,L.jsxs)("div",{className:mn,ref:a,children:[(0,L.jsx)("h2",{className:hn,children:t}),l()(o).call(o,((e,t)=>(0,L.jsxs)(L.Fragment,{children:[e.content?(0,L.jsx)("p",{className:j()(_n,t!==o.length-1?fn:""),children:e.content}):null,e.image?(0,L.jsx)("img",{className:j()(vn,t!==o.length-1?yn:""),src:e.image,loading:"lazy",alt:e.imageAlt}):null]})))]})},props:{title:"Title",body:[{content:"content"}]},propsSchema:[{key:"title",label:"\u6807\u9898",type:"input",needTranslation:!0},{key:"body",label:"\u6b63\u6587\u5757",type:"list",formList:[{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"image",label:"\u6b63\u6587\u56fe\u7247",type:"image"},{key:"imageAlt",label:"\u6b63\u6587\u56fe\u7247\u63cf\u8ff0",labelTips:"\u56fe\u7247\u63cf\u8ff0\u6700\u597d\u662f\u7528\u7b80\u77ed\u7684\u8bed\u53e5\uff0c\u63cf\u8ff0\u8fd9\u5f20\u56fe\u7247\u7684\u5185\u5bb9\uff0c\u5982\u679c\u662f\u94fe\u63a5\uff0c\u5219\u63cf\u8ff0\u94fe\u63a5\u7684\u4f5c\u7528\uff0c\u5e76\u5e26\u4e0a\u5173\u952e\u8bcd\u3002",type:"input",needTranslation:!0}]}],category:Jl.Resource},{name:"Resource Footer",label:"Footer",component:e=>{const{content:t,buttonText:n,buttonURL:a,gradientColor:o,shouldHiddenWhenLogin:r,isLogin:i}=e,s=(0,c.useRef)(null),l=(0,h.Z)(),g=(0,_.B)(),[f]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${l}`}),v=(0,S.jI)(e);return r&&i?null:(0,L.jsxs)(C.Z,{className:Cn,gradient:{color:o},ref:f,children:[(0,L.jsx)(Xe.Z,{data:{content:t,button:{value:n}},onClickDocFooterBtn:()=>{s.current?.click(),(new p.D).report({...v,action:"sign_up",position:`${u.q$.PICTURE}_${l}`})}}),(0,L.jsx)("a",{ref:s,href:(0,m.G)(a,{[d.WB.ENTER_FROM]:d.gJ.ARTICLE_PAGE_BOTTOM,[d.gJ.CURRENT_PAGE]:d.gJ.ARTICLE_PAGE,[d.gJ.ARTICLE_TITLE]:l,[d.WB.ARTICLE_TYPE]:g}),target:"_blank",rel:"noreferrer"})]})},props:{content:"Content",buttonText:"Button",buttonURL:"https://www.capcut.com",gradientColor:"rgba(199, 255, 245, .7)",shouldHiddenWhenLogin:!1},propsSchema:[{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u989c\u8272\u8272\u503c",type:"input"},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonURL",label:"\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"shouldHiddenWhenLogin",label:"\u5904\u4e8e\u767b\u5f55\u6001\u65f6\uff0c\u4e0d\u5c55\u793a\u8be5\u7ec4\u4ef6",type:"switch"}],category:Jl.Resource},{name:"Resource Title New",label:"Title New",component:e=>{const{backgroundCode:t,title:n,theme:a,creatorName:o,wordNum:r,creatorURL:i,headContainer:s,path:p,originPath:g,categoryTitle:h,updateTime:_}=e,[f]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${n}`}),v=En().unix(Number(_)).format("MM/DD/YYYY"),y=(0,c.useMemo)((()=>{const e=x.uL.getPathPrefix(p||""),t=`${g}${e?`/${e}`:""}`,a=[];return a.push({label:I.ZP.t("web_home_page",{},"Home"),href:t}),a.push({label:n}),l()(a).call(a,(e=>({...e,href:e.href?(0,m.G)(e.href,{[d.WB.FROM_PAGE]:"article_page",[d.WB.ENTER_FROM]:"navigation_bar",[d.WB.FROM_ARTICLE_URL_PATH]:p||""}):void 0})))}),[p,g,h,n]);return(0,L.jsxs)(J,{className:j()(xn["resource_banner-container"],xn[a],xn.hasBreadcrumb),backgroundCode:t,ref:f,children:[(0,L.jsx)(M,{headContainer:s,origin:g,path:p,className:xn.breadbrumb,items:y}),(0,L.jsx)(Q.n,{label:Q.J.h1,value:n,classNames:[j()(xn.title)]}),(0,L.jsxs)("div",{className:xn.article_info,children:[(0,L.jsxs)("div",{className:xn.creator_container,children:[(0,L.jsx)("img",{className:xn.creator_img,src:i}),(0,L.jsxs)("div",{className:xn.creator_and_time,children:[(0,L.jsx)($.xv,{classNames:[xn.creator_name],value:o,tagType:$.Qy.span}),(0,L.jsx)($.xv,{classNames:[xn.article_publish_time],value:v,tagType:$.Qy.span})]})]}),(0,L.jsxs)("div",{className:xn.article_time_info,children:[(0,L.jsx)(wn.Z,{className:xn.time_info_divider,type:"vertical"}),(0,L.jsxs)("div",{className:xn["readtime-container"],children:[(0,L.jsx)(b.lDB,{className:xn["readtime-icon"]}),(0,L.jsx)($.xv,{value:`${Math.ceil(r/200)} ${I.ZP.t("web_cms_text_min",{},"min(s)")}`,tagType:$.Qy.span})]})]})]})]})},props:{backgroundCode:"linear-gradient(90deg, #F7FFFF 0%, #C1E5FF 53.7%, #FEC2EC 100%)",title:"7 Best Video Editors for TikTok | Online, Android, iOS, Windows & Mac",theme:"light",creatorURL:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/capcut-avatar.png",wordNum:0,creatorName:"CapCut"},propsSchema:[{key:"backgroundCode",label:"\u80cc\u666f\u8272(\u652f\u6301\u6e10\u53d8)",type:"input"},{key:"theme",type:"select",label:"\u4eae\u6697\u6a21\u5f0f",options:[{key:"dark",value:"dark",label:"\u6697\u8272\u6a21\u5f0f"},{key:"light",value:"light",label:"\u4eae\u8272\u6a21\u5f0f"}]},{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"creatorURL",label:"\u4f5c\u8005\u5934\u50cf",type:"image"},{key:"creatorName",label:"\u4f5c\u8005\u540d\u79f0",type:"input",needTranslation:!0},{key:"wordNum",label:"\u5355\u8bcd\u603b\u6570",type:"input"}],category:Jl.Resource},{name:"Create Title",label:"Title",component:e=>{const{title:t,content:n,buttonText:a,buttonURL:o,coverURL:r,gradientColor:i}=e,s=(0,h.Z)(),l=(0,_.B)(),c=`${u.q$.PICTURE}_${t}`,g=(0,S.jI)(e),[f]=(0,S._F)({...e,position:c});return(0,L.jsx)(C.Z,{ref:f,gradient:{color:i},children:(0,L.jsx)(w.m,{data:{title:t,content:n,button:{value:a},imgSrc:{src:r,webp:r}},onClickDocIntroBtn:()=>{const e=`${u.q$.PICTURE}_${t}`;window.open((0,m.G)(o,{[d.WB.ENTER_FROM]:e,[d.WB.POSTION]:decodeURIComponent(t),[d.WB.ARTICLE_TITLE]:s,[d.WB.ARTICLE_TYPE]:l,[d.WB.DEFAULT]:"article_page"})),(new p.D).report({...g,action:"enter_edit_page",position:e})}})})},props:{title:"Title",content:"Content",buttonText:"Button",buttonURL:"https://www.capcut.com",coverURL:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc",gradientColor:"#FBFFE4"},propsSchema:[{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u989c\u8272\u8272\u503c",type:"input"},{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0},{key:"buttonURL",label:"\u6309\u94ae\u8d85\u94fe\u63a5",type:"input"},{key:"coverURL",label:"\u5c01\u9762\u56fe\u7247",type:"image"}],category:Jl.Create},{name:"Create Content",label:"Content",component:e=>{const{title:t,content:n}=e,[a]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${t}`});return(0,L.jsxs)("div",{className:In,ref:a,children:[(0,L.jsxs)("h2",{className:Tn,children:[(0,L.jsx)(b.kVp,{className:Nn}),(0,L.jsx)("span",{children:t})]}),(0,L.jsx)("p",{className:Sn,children:n})]})},props:{title:"Title",content:"Content"},propsSchema:[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0}],category:Jl.Create},{name:"Create What Our's Solution",label:"Solution",component:e=>{const{gradientColor:t,title:n,list:a}=e,[o]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${n}`});return(0,L.jsx)(C.Z,{className:Rn,gradient:{color:t},ref:o,children:(0,L.jsxs)("div",{className:Pn,children:[(0,L.jsx)("h2",{className:An,children:n}),l()(a).call(a,((e,t)=>(0,L.jsxs)("div",{className:j()(jn,t%2!=0?Ln:"",t!==a.length-1?On:""),children:[(0,L.jsx)("div",{children:(0,L.jsx)("img",{className:Dn,src:e.image,alt:e.imageAlt,loading:"lazy"})}),(0,L.jsxs)("div",{className:Mn,children:[(0,L.jsx)("h2",{className:Fn,children:e.title}),(0,L.jsx)("p",{className:Un,children:e.content})]})]},t)))]})})},props:{gradientColor:"#F9FCE2",title:"Title",list:[{title:"title",content:"content",image:"https://iph.href.lu/660x440?%20Cover&fg=666666&bg=cccccc",imageAlt:""}]},propsSchema:[{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u8272",type:"input"},{key:"title",label:"\u5927\u6807\u9898",type:"input",needTranslation:!0},{key:"list",label:"\u6b63\u6587\u5757",type:"list",formList:[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"image",label:"\u6b63\u6587\u56fe\u7247",type:"image"},{key:"imageAlt",label:"\u6b63\u6587\u56fe\u7247\u63cf\u8ff0",labelTips:"\u56fe\u7247\u63cf\u8ff0\u6700\u597d\u662f\u7528\u7b80\u77ed\u7684\u8bed\u53e5\uff0c\u63cf\u8ff0\u8fd9\u5f20\u56fe\u7247\u7684\u5185\u5bb9\uff0c\u5982\u679c\u662f\u94fe\u63a5\uff0c\u5219\u63cf\u8ff0\u94fe\u63a5\u7684\u4f5c\u7528\uff0c\u5e76\u5e26\u4e0a\u5173\u952e\u8bcd\u3002",type:"input",needTranslation:!0}]}],category:Jl.Create},{name:"Create Steps Tutorial",label:"Steps Tutorial",component:e=>{const{gradientColor:t,title:n,hightlight:a,list:o}=e,r=(0,c.useMemo)((()=>{if(!a)return(0,L.jsx)("h2",{className:Gn,children:n});const[e="",t=""]=n.split(a??"");return(0,L.jsxs)("h2",{className:Gn,children:[e,(0,L.jsx)("span",{className:Zn,children:a}),t]})}),[n,a]),[i]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${n}`});return(0,L.jsx)(C.Z,{ref:i,className:Bn,gradient:{color:t},children:(0,L.jsxs)("div",{className:Wn,children:[r,l()(o).call(o,((e,t)=>(0,L.jsxs)("div",{className:Hn,children:[(0,L.jsxs)("div",{className:zn,children:[(0,L.jsxs)("h3",{className:qn,children:[e.title,(0,L.jsx)("span",{className:Yn,children:e.index})]}),(0,L.jsx)("p",{className:Vn,children:e.content})]}),(0,L.jsx)("div",{children:(0,L.jsx)("img",{className:Kn,src:e.image,alt:e.imgaeAlt,loading:"lazy"})})]},t)))]})})},props:{gradientColor:"#F9F1FF",title:"Title",hightlight:"",list:[{title:"Step",index:"1",content:"Content",image:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc",imgaeAlt:""}]},propsSchema:[{key:"gradientColor",label:"\u80cc\u666f\u6e10\u53d8\u8272",type:"input"},{key:"title",label:"\u5927\u6807\u9898",type:"input",needTranslation:!0},{key:"hightlight",label:"\u5927\u6807\u9898\u9ad8\u4eae\u5185\u5bb9",labelTips:"\u9ad8\u4eae\u5185\u5bb9\u5fc5\u987b\u662f\u5927\u6807\u9898\u7684\u90e8\u5206\u5185\u5bb9\u3002",type:"input",needTranslation:!0},{key:"list",label:"\u6b63\u6587\u5757",type:"list",formList:[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"index",label:"\u6b63\u6587\u6807\u9898\u5e8f\u53f7",type:"input",needTranslation:!0},{key:"content",label:"\u6b63\u6587\u5185\u5bb9",type:"input",needTranslation:!0},{key:"image",label:"\u6b63\u6587\u56fe\u7247",type:"image"},{key:"imageAlt",label:"\u6b63\u6587\u56fe\u7247\u63cf\u8ff0",labelTips:"\u56fe\u7247\u63cf\u8ff0\u6700\u597d\u662f\u7528\u7b80\u77ed\u7684\u8bed\u53e5\uff0c\u63cf\u8ff0\u8fd9\u5f20\u56fe\u7247\u7684\u5185\u5bb9\uff0c\u5982\u679c\u662f\u94fe\u63a5\uff0c\u5219\u63cf\u8ff0\u94fe\u63a5\u7684\u4f5c\u7528\uff0c\u5e76\u5e26\u4e0a\u5173\u952e\u8bcd\u3002",type:"input",needTranslation:!0}]}],category:Jl.Create},{name:"Create Step",label:"Create Step",component:e=>{const{backgroundColor:t,title:n,mode:a,list:o,buttonDisplay:r,buttonText:i,buttonUrl:s,buttonAction:g}=e,[m,,h]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${n}`}),_=`${u.q$.PICTURE}_${n}`;return(0,L.jsxs)(J,{style:{backgroundColor:t},ref:m,className:ga["create_step-container"],children:[(0,L.jsx)(Q.n,{value:n,classNames:[ga["create_step-title"]]}),(0,L.jsx)(ua,{className:ga["common_step-container"],children:l()(o).call(o,((e,t)=>(0,c.createElement)(ha,{...e,mode:a,key:e.title,index:t+1})))}),"show"===r&&(0,L.jsx)("div",{className:ga["create_step-btn-wrapper"],children:(0,L.jsx)(X.$,{responsiveSizeRule:!0,className:ga["create_step-btn"],icon:!0,value:i,href:s,target:"_blank",onClick:()=>{(new p.D).report({...h,action:g,position:_}),(new B.eG).reportForArticlePageButton(g,{...h,position:_,current_page:d.WB.PAGE_ARTICLE})},customTheme:"dark"})})]})},props:{backgroundColor:"#fff",title:"Creating your first TikTok video on CapCut",mode:"icon",list:[{title:"Upload",desc:"Upload your content and use our media management system.",imgSrc:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc",background:"#D5EDFF"},{title:"Edit",desc:"Edit your TikTok video using our tools, add music, subtitles, and much more.",imgSrc:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc",background:"#C1F0F1"},{title:"Export",desc:"Simply export your video and share it on TikTok!",imgSrc:"https://iph.href.lu/660x440?text=Tool%20Introduction%20Cover&fg=666666&bg=cccccc",background:"#D0DCFF"}],buttonDisplay:"show",buttonText:"Try for free",buttonUrl:"/editor",buttonAction:"enter_edit_page"},propsSchema:ma,category:Jl.Create},{name:"Create why use",label:"Create why use",component:e=>{const{title:t,contentAndImage:n,backgroundCode:a}=e,[o]=(0,S._F)(e);return(0,L.jsx)(J,{backgroundCode:a,ref:o,children:(0,L.jsxs)("div",{className:Gt,children:[(0,L.jsx)(b.PEf,{className:zt}),(0,L.jsx)(Q.n,{label:Q.J.h2,value:t,classNames:[Zt]}),l()(n).call(n,(e=>(0,L.jsxs)(c.Fragment,{children:[e.content&&(0,L.jsx)($.xv,{classNames:[Ht,qt],label:$.JG.body2,value:e.content}),e.imageUrl&&(0,L.jsx)("img",{width:"100%",height:"100%",src:e.imageUrl,alt:e.imageAlt,className:j()(Ht,Yt)})]},e.content||e.imageUrl)))]})})},props:{title:"Why do you need CapCut to help create TikTok videos?",backgroundCode:"#fff",contentAndImage:[{content:"TikTok is among the fastest-growing social media platforms in the world. Promoting fun, short-form, and shareable videos across a broad scope of topics and niches, the trendsetting social media app is a marketer\u2019s dream and an effective way to reach the younger demographic. While there is no doubt that TikTok has opened up valuable opportunities for businesses and content creators, you nevertheless need quality content to stand out. This is where a professional TikTok video editing app like CapCut can come to your assistance. ",imageAlt:"",imageUrl:""},{content:"It\u2019s no small task creating compelling and eye-catching videos that will stop your audience in their scroll. Rich with professional and high-quality features, CapCut takes the guesswork out of video editing, providing an all-in-one platform where you can easily edit and publish your TikTok videos online with zero hassle. With CapCut\u2019s simple and streamlined interface, you can focus on what really matters and create stunning video content like a pro.",imageAlt:"",imageUrl:""}]},propsSchema:[{key:"title",label:"\u6b63\u6587\u6807\u9898",type:"input",needTranslation:!0},{key:"backgroundCode",label:"\u80cc\u666f\u8272(\u652f\u6301\u6e10\u53d8)",type:"input"},{key:"contentAndImage",label:"\u5185\u5bb9\u548c\u56fe\u7247",type:"list",formList:[{key:"content",label:"\u5185\u5bb9",type:"textarea",needTranslation:!0},{key:"imageUrl",label:"\u56fe\u7247",type:"image"},{key:"imageAlt",label:"\u56fe\u7247\u6587\u5b57\u515c\u5e95",type:"input"}]}],category:Jl.Create},{name:"Create Related",label:"Create Related",component:e=>{const{title:t,backgroundCode:n,relatedRecomends:a,buttonText:o,buttonUrl:r,buttonAction:i}=e,[s,,c]=(0,S._F)(e),g=`${u.q$.PICTURE}_${t}`;return(0,L.jsxs)(J,{backgroundCode:n||"#fff",ref:s,className:Vt,children:[(0,L.jsx)(Q.n,{label:Q.J.h1,value:t,classNames:[Kt]}),(0,L.jsx)("div",{className:Jt,children:l()(a).call(a,(e=>(0,L.jsx)($.xv,{classNames:[Xt,n?Qt:""],label:$.JG.body1,value:e.content},e.content)))}),o&&(0,L.jsx)("div",{className:$t,children:(0,L.jsx)(X.Z,{iconInline:!0,onClick:()=>{(new p.D).report({...c,position:g,action:i}),(new B.eG).reportForArticlePageButton(i,{...c,position:"",current_page:d.WB.PAGE_ARTICLE});const e=(0,m.G)(r,{[d.WB.ENTER_FROM]:g,[d.WB.FROM_PAGE]:"article_page"});window.open(e)},customTheme:"dark",responsiveSizeRule:!0,value:o})})]})},props:{title:"Related themes",backgroundCode:"",relatedRecomends:[{content:"Tunnel video"},{content:"Realtor videos"},{content:"Real estate walk through video"},{content:"Real estate training video"},{content:"Crop video"},{content:"Trim video"},{content:"Real estate slideshow video"},{content:"Trim"},{content:"Image editor"},{content:"Add music"},{content:"Crop video"},{content:"Trim video"},{content:"Video editor"},{content:"Trim music"},{content:"Image editor"},{content:"Add music"}],buttonText:"Show more",buttonUrl:"",buttonAction:"sign_up"},propsSchema:en,category:Jl.Create},{name:"Why Create",label:"Why Create",component:e=>{const{backgroundColor:t,title:n,list:a,mode:o}=e,[r]=(0,S._F)({...e,position:`${u.q$.PICTURE}_${n}`});return(0,L.jsxs)(J,{style:{backgroundColor:t},ref:r,className:Ta["why_create-container"],children:[(0,L.jsx)(Q.n,{value:n,classNames:[Ta["why_create-title"]]}),(0,L.jsx)(ua,{className:Ta["common_step-container"],children:l()(a).call(a,(e=>"image"===o?(0,c.createElement)(Ia,{...e,key:e.title}):(0,c.createElement)(ba,{...e,key:e.title})))})]})},props:{backgroundColor:"#fff",title:"Why you need to make a real estate video",mode:"icon",list:[{title:"Boost Sales",desc:"A compelling video can absolutely influence buying behavior, leading directly to sales.",imgSrc:"https://dummyimage.com/400x400/666/fff",background:"#F5F8FC"},{title:"Increase Traffic",desc:"Nothing can compare to the power of video content when it comes to driving traffic to your site.",imgSrc:"https://dummyimage.com/400x400/666/fff",background:"#F5F8FC"},{title:"Encourage Social Share",desc:"Videos on social media platforms generate more likes and shares than images and text combined.",imgSrc:"https://dummyimage.com/400x400/666/fff",background:"#F5F8FC"}]},propsSchema:[{key:"backgroundColor",label:"\u80cc\u666f\u989c\u8272",type:"input"},{key:"title",label:"\u6807\u9898",type:"input",needTranslation:!0},{key:"mode",label:"\u663e\u793a\u6a21\u5f0f",type:"select",options:[{key:"icon",value:"icon",label:"\u56fe\u6807\u6a21\u5f0f"},{key:"image",value:"image",label:"\u56fe\u7247\u6a21\u5f0f"}]},{key:"list",label:"\u5361\u7247\u9879",type:"list",formList:[{key:"imgSrc",label:"\u56fe\u7247",type:"image"},{key:"imgAlt",label:"\u56fe\u7247\u63cf\u8ff0",type:"input",needTranslation:!0},{key:"title",label:"\u6807\u9898",type:"input",needTranslation:!0},{key:"desc",label:"\u4ecb\u7ecd",type:"input",needTranslation:!0},{key:"background",label:"\u5361\u7247\u80cc\u666f\u8272",type:"input"}]}],category:Jl.Create},{name:"RichText Editor",label:"RichText Editor",component:e=>{const{articleTitle:t,containerType:n,path:a,onFieldChange:o,isProd:r,richAtagValue:i,treeMap:s}=e,l=(0,c.useRef)((0,Gr.VC)((0,qr.BU)((0,Wr.Jh)()))),d=n===Ho.lS.CMSPlatform;(0,c.useEffect)((()=>{d&&(window.editor=l.current)}),[d]);const u=(0,c.useMemo)((()=>new Wi(l.current,pl)),[]),{run:p}=(0,Zr.Z)((e=>{const t=u.serializeV1(e);o?.({richAtagValue:t.html,treeMap:t.treeMap})}),500),g=(0,c.useRef)(u.deserializeV1(i,s||{}));return(0,L.jsx)("div",{className:Hr,children:(0,L.jsx)("div",{className:j()(zr,"editor-inner"),children:(0,L.jsx)(Yr.Provider,{value:{editable:d,articleTitle:t,path:a,isProd:r},children:(0,L.jsxs)(qr.mH,{editor:l.current,value:g.current,onChange:p,children:[d&&(0,L.jsx)(Oi,{children:u.renderToolbarBtns()}),(0,L.jsx)(qr.CX,{className:"richeditor",placeholder:"Enter some rich text\u2026",style:{width:"100%",minHeight:d?300:void 0},renderElement:u.renderElement,renderLeaf:u.renderLeaf,readOnly:!d,onKeyDown:u.onKeyDown})]})})})})},props:{richAtagValue:""},propsSchema:[{key:"richAtagValue",label:"\u5bcc\u6587\u672c\u5185\u5bb9",type:"none",needTranslation:!0}],category:Jl.Resource},{name:"SignButtonGroup",label:"SignButtonGroup",component:e=>{var t;const{creditTip:n,buttonText:a,buttonUrl:o,buttonAction:r,secondButtonText:i,secondButtonURL:s,secondButtonAction:l,articleTitle:c,path:g,isMobile:m,mobileButtonAction:_,mobileButtonText:f,mobileButtonURL:v,secondMobileButtonAction:y,secondMobileButtonText:b,secondMobileButtonURL:C}=e,w=(0,h.Z)(),k=`${u.q$.PICTURE}_${w}`,[E,,x]=(0,S._F)({...e,position:`${u.q$.PICTURE}_SignButtonGroup`}),I=Sa()(t=["tools","resource","create"]).call(t,(e=>g?.split("/")?.includes(e))),{onClick:T}=(0,S.XS)({...x,article_title:c,article_type:I,position:`${u.q$.PICTURE}_SignButtonGroup`}),N={enterFrom:"button",currentPage:"article_page",articleTitle:c,articleType:I},R=(0,ce.Mo)(o||"",N),P=(0,ce.Mo)(s||"",N),A=(0,ce.Mo)(C||"",N);return(0,L.jsx)(J,{className:gl,innerClassName:ml,ref:E,children:(0,L.jsxs)("div",{className:hl,children:[m?(0,L.jsxs)("div",{className:_l,children:[(0,L.jsx)(X.Z,{className:fl,responsiveSizeRule:!0,iconInline:!0,icon:!1,customTheme:"dark",value:f||"",onClick:()=>{const e=v||window.location.href;(new p.D).report({...x,action:_||"",action_url:e,article_title:w,article_type:I,position:k}),(new B.eG).reportForArticlePageButton(_||"",{...x,position:k,current_page:d.WB.PAGE_ARTICLE}),"copy_link"===_?navigator.clipboard.writeText(e||""):window.open(e)}}),b&&(0,L.jsx)(X.Z,{href:A,className:fl,responsiveSizeRule:!0,iconInline:!0,icon:!1,customTheme:"light",value:b,onClick:()=>{T(y,C)}})]}):(0,L.jsxs)("div",{className:_l,children:[(0,L.jsx)(X.Z,{href:R,className:fl,responsiveSizeRule:!0,iconInline:!0,customTheme:"dark",value:a,onClick:()=>{T(r,o)}}),i&&(0,L.jsx)(X.Z,{href:P,className:fl,responsiveSizeRule:!0,iconInline:!0,icon:!1,customTheme:"light",value:i,onClick:()=>{T(l,s)}})]}),(0,L.jsx)($.xv,{label:$.JG.body3,classNames:[vl],value:n})]})})},props:{buttonText:"Try for free",buttonUrl:"https://www.capcut.com/editor",buttonAction:"enter_edit_page",mobileButtonText:"Copy Link",mobileButtonURL:"https://www.capcut.com/signup",mobileButtonAction:"copy_link",secondButtonAction:"sign_up",secondButtonText:"Sign up",secondButtonURL:"https://www.capcut.com/signup",secondMobileButtonAction:"sign_up",secondMobileButtonText:"Sign up",secondMobileButtonURL:"https://www.capcut.com/signup",creditTip:"*No credit card need"},propsSchema:yl,category:Jl.Resource}],nc=[{name:"Group Article Header",label:"Group Article Header",component:No,props:{title:"Tools",subTitle:"CapCut can create auto captions in 93 languages with just one click."},propsSchema:[{key:"title",label:"\u6807\u9898",type:"input"},{key:"subTitle",label:"\u526f\u6807\u9898",type:"input"}],category:Xl.Group},{name:"Group Hot Article",label:"Group Hot Article",component:ar,props:$o,propsSchema:[{key:"intervalTime",label:"\u95f4\u9694\u8f6e\u64ad\u65f6\u957f(ms\u5355\u4f4d)",type:"input"},{key:"buttonText",label:"\u6309\u94ae\u6587\u6848",type:"input",needTranslation:!0}],category:Xl.Group},{name:"Group Three Article",label:"Group Three Article",component:bl(Br,{articlePerPage:3}),props:Fr,propsSchema:Mr,category:Xl.Group},{name:"Group Four Article",label:"Group Four Article",component:bl(Br,{articlePerPage:4}),props:Fr,propsSchema:Mr,category:Xl.Group},{name:"Group Five Article",label:"Group Five Article",component:bl(Br,{articlePerPage:5}),props:Fr,propsSchema:Mr,category:Xl.Group},{name:"Group Six Article",label:"Group Six Article",component:bl(Br,{articlePerPage:6}),props:Fr,propsSchema:Mr,category:Xl.Group},{name:"StartFooterCTA",label:"StartFooterCTA",component:bl(La,{pageType:"article_group_page"}),props:ja,propsSchema:Aa,category:Xl.Group}],ac=o()(Vl=[...tc,...nc]).call(Vl,((e,t)=>(e[t.name]=t.propsSchema,e)),{}),oc=new(i())(l()(Kl=[...tc,...nc]).call(Kl,(e=>[e.name,e])))},37265:(e,t,n)=>{"use strict";n.d(t,{B:()=>a,m:()=>o});const a={SUCCESS:0,ERROR:-1};class o{static _instance=null;methods;constructor(){this.methods={}}static getInstance(){return o._instance||(o._instance=new o),o._instance}setInjectMethod(e,t){this.methods[e]=t}getInjectMethod(e){return this.methods[e]}}},94557:(e,t,n)=>{"use strict";var a,o,r;n.d(t,{lS:()=>a,$m:()=>o,ds:()=>r}),function(e){e[e.CMS=0]="CMS",e[e.CMSPlatform=1]="CMSPlatform"}(a||(a={})),function(e){e[e.NO_PUBLISH=0]="NO_PUBLISH",e[e.MODIFIED=1]="MODIFIED",e[e.PUBLISHED=2]="PUBLISHED"}(o||(o={})),function(e){e[e.NO_TRANSLATED=0]="NO_TRANSLATED",e[e.TRANSLATED_VIA_MACHINE=1]="TRANSLATED_VIA_MACHINE",e[e.PROOFREAD=2]="PROOFREAD"}(r||(r={}))},77313:(e,t,n)=>{"use strict";n.d(t,{zA:()=>f,n5:()=>v,i6:()=>y,FS:()=>b,Mo:()=>C});var a=n(80294),o=n.n(a),r=n(28082),i=n.n(r),s=n(34567),l=n.n(s),c=n(39333),d=n.n(c),u=n(33278),p=n.n(u),g=n(92455),m=n(42949),h=n(5928),_=n(29858);const f=e=>{const t=e.split("/");return t.pop(),o()(t).call(t,(e=>!i()(e).call(e,"tool")))},v=e=>{const t=e.path,{id:n}=e,a=e.schema?.components?.find((e=>e?.name===g.l.ToolIntroductionNew))?.props,o=e.schema?.components?.find((e=>e?.name===g.l.PCIntroduction))?.props,r=e.schema?.settings?.articleGroupCover;if(a){const{title:e,backgroundCode:o,coverURL:i,coverAlt:s,content:l}=a;return{id:n,href:t,title:e,backgroundCode:o,coverURL:i,coverAlt:s,articleGroupCover:r,content:l}}if(o){const{title:e,backImageURL:a,contnet:i}=o;return{id:n,href:t,title:e,backgroundCode:"linear-gradient(#F9FBFE,#F9FBFE)",coverURL:a,coverAlt:e,articleGroupCover:r,content:i}}},y=e=>{var t;const n=l()(t=e.split("/")).call(t,(e=>e));return d()(n).call(n,(e=>Boolean(e)))};function b(e){let t=Boolean(e?.startsWith("/"));try{var n;const a=new(p())(e);t=i()(n=["www.capcut.com",`capcut-os-boe.${h.Ee}`,`capcut-os.${h.Ee}`]).call(n,a.hostname)}catch(a){}return t}function C(e,t){let{enterFrom:n="",currentPage:a="",articleType:o="",articleTitle:r="",...i}=t;return b(e)?/\/signup/.test(e)?(0,m.G)(e,{...i,[_.WB.ENTER_FROM]:n,[_.gJ.CURRENT_PAGE]:a,[_.WB.ARTICLE_TYPE]:o}):/\/my-edit/.test(e)||/\/template/.test(e)?(0,m.G)(e,{...i,[_.WB.ENTER_FROM]:n,[_.WB.FROM_PAGE]:a}):/\/editor/.test(e)?(0,m.G)(e,{...i,[_.WB.ARTICLE_TITLE]:r,[_.WB.ARTICLE_TYPE]:o,[_.WB.FROM_PAGE]:a,[_.WB.DEFAULT]:a}):(0,m.G)(e,{...i,[_.WB.ENTER_FROM]:n,[_.WB.FROM_PAGE]:a}):e}},47482:(e,t,n)=>{"use strict";n.d(t,{$:()=>g,Z:()=>m});n(51810);var a=n(83024),o=n(31702),r=n(5789),i=n.n(r),s=n(7867),l=n(49087),c=n(42949),d=n(29858),u=n(84940);const p=e=>{let{value:t,href:n,target:r,style:s,className:l,icon:c=!0,iconInline:d,onClick:p,customTheme:g,responsiveSizeRule:m}=e;const h=m?(0,u.jsx)(o.olP,{}):(0,u.jsx)(o.Cuf,{});return(0,u.jsx)(u.Fragment,{children:(0,u.jsxs)(a.Z,{type:"primary",style:s,className:i()("custom_button",l,g?`custom-theme-${g}`:"",m?"button-new-size-rule":""),href:n,target:r,onClick:p,children:[(0,u.jsx)("div",{className:i()({marginRight:c,btnText:!0,iconInline:Boolean(d)}),children:t}),(0,u.jsx)("div",{className:i()({"custom_button-icon":!0,iconInline:Boolean(d),"button-new-size-rule-icon":m}),children:c?h:(0,u.jsx)(u.Fragment,{})})]})})},g=e=>{let{href:t="",...n}=e;const a=(0,s.Z)(),o=(0,l.B)(),r=(0,c.G)(t,{[d.WB.ARTICLE_TITLE]:a,[d.WB.ARTICLE_TYPE]:o,[d.WB.FROM_PAGE]:d.WB.ARTICLE_PAGE,[d.WB.DEFAULT]:d.WB.ARTICLE_PAGE});return(0,u.jsx)(p,{href:r,...n})},m=p},52832:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(51810),o=n(5789),r=n.n(o),i=n(84940);const s=a.forwardRef(((e,t)=>{let{children:n,className:a,style:o={},gradient:s,coverNode:l,backgroundCode:c}=e;const d={...o,background:c||`linear-gradient(180deg, ${s?.color} 0%, rgba(255, 255, 255, .7) ${100/(s?.childrenLength??1)}%)`};return(0,i.jsxs)("section",{ref:t,className:r()("pc_container",a),style:s||c?d:o,children:[l&&(0,i.jsx)("div",{className:"middle_node",children:l}),(0,i.jsx)("div",{className:"pc_container-body",children:n})]})}))},85427:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(51810);var a=n(84940);const o=e=>{let{value:t,style:n,mobileConfig:o}=e;const{classNames:r}=o||{};return(0,a.jsx)("p",{className:`pc_content ${(r||[]).join(" ")}`,style:n,children:t})}},91735:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});n(51810);var a=n(5789),o=n.n(a);const r="aExCsPvATcOAyizQVs7n";var i=n(84940);const s=e=>{const{className:t,children:n,...a}=e||{};return(0,i.jsx)(i.Fragment,{children:(0,i.jsx)("button",{type:"button",className:o()(r,t),...a,children:n})})}},75334:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});n(51810);var a=n(84940);const o=e=>{let{src:t,alt:n,responsiveImageWebp:o,style:r,imgStyle:i}=e;return(0,a.jsx)("figure",{className:"figure",style:r,children:(0,a.jsxs)("picture",{children:[(0,a.jsx)("source",{srcSet:o?.srcSet,type:"image/webp"}),(0,a.jsx)("img",{className:"custom-image",src:t,style:i,alt:n})]})})}},93957:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(51810);var a=n(5789),o=n.n(a),r=n(84940);const i=e=>{let{className:t,heightRatio:n,children:a,style:i}=e;return(0,r.jsx)("div",{className:t,style:i,children:(0,r.jsx)("div",{className:o()("ratio_container"),style:{paddingTop:100*n+"%"},children:(0,r.jsx)("div",{className:"ratio_container-embed",children:a})})})}},33113:(e,t,n)=>{"use strict";n.d(t,{J:()=>u,n:()=>h});n(51810);var a=n(21055),o=n(75334);const r="VLGktWX6Cy35v1YqHcXk",i="q8Rqt_PD4llQHZcFibHQ",s="DpM4xqU9rtnMAHUAyj6z",l="PmfAycP_qfFecFPOjBbg",c="LqHPjoEr1zkodxHSdsF4",d="kOjsmbjI2rSHaiKSfY5q";var u,p=n(5789),g=n.n(p),m=n(84940);!function(e){e.h1="h1",e.h2="h2",e["h2-minus"]="h2-minus",e.h3="h3"}(u||(u={}));const h=e=>{let{children:t,value:n,classNames:p,label:h="h2",ellipsis:_,...f}=e;const v="string"==typeof t,y=p?p.join(" "):"";if(_){let e=2,p=i;switch(h){case u.h1:e=1,p=r;break;case u.h2:e=2,p=i;break;case u["h2-minus"]:e=2,p=s;break;case u.h3:e=3,p=l;break;default:e=2,p=i}return(0,m.jsxs)(m.Fragment,{children:[t?(0,m.jsx)("div",{className:c,children:v?(0,m.jsx)(o.Z,{src:t}):t}):null,(0,m.jsx)(a.Z.Title,{heading:e,className:g()(p,d,y),ellipsis:_,...f,children:n})]})}return(0,m.jsxs)(m.Fragment,{children:[t?(0,m.jsx)("div",{className:c,children:v?(0,m.jsx)(o.Z,{src:t}):t}):null,h===u.h1&&(0,m.jsx)("h1",{className:g()(r,y),...f,children:n}),h===u.h2&&(0,m.jsx)("h2",{className:g()(i,y),...f,children:n}),h===u["h2-minus"]&&(0,m.jsx)("h2",{className:g()(s,y),...f,children:n}),h===u.h3&&(0,m.jsx)("h3",{className:g()(l,y),...f,children:n})]})}},37317:(e,t,n)=>{"use strict";n.d(t,{JG:()=>a,Qy:()=>o,xv:()=>s});var a,o,r=n(51810),i=n(84940);!function(e){e.body1="body1",e.body2="body2",e.body3="body3",e.caption="caption"}(a||(a={})),function(e){e[e.p=0]="p",e[e.h3=1]="h3",e[e.span=2]="span"}(o||(o={}));const s=r.forwardRef(((e,t)=>{let{value:n,style:s,classNames:l,label:c="body2",tagType:d=o.p,children:u}=e;const p=(0,r.useMemo)((()=>{switch(c){case a.body1:return"article_body1";case a.body3:return"article_body3";case a.caption:return"article_caption";case a.body2:default:return"article_body2"}}),[c]);switch(d){case o.h3:return(0,i.jsx)("h3",{ref:t,style:s||{},className:`${p} ${l?l.join(" "):""}`,children:n||u});case o.span:return(0,i.jsx)("span",{ref:t,style:s||{},className:`${p} ${l?l.join(" "):""}`,children:n||u});case o.p:default:return(0,i.jsx)("p",{ref:t,style:s||{},className:`${p} ${l?l.join(" "):""}`,children:n||u})}}))},56780:(e,t,n)=>{"use strict";n.d(t,{J:()=>a,D:()=>i});n(51810);var a,o=n(75334),r=n(84940);!function(e){e.h1="h1",e.h2="h2",e.h3="h3",e.capabolity_subTitle="h_capabolity_subTitle"}(a||(a={}));const i=e=>{let{children:t,value:n,style:i,classNames:s,noHeadLineWithLevel1:l,label:c="h2"}=e;const d="string"==typeof t,u=l?"div":"h1";return(0,r.jsxs)(r.Fragment,{children:[t?(0,r.jsx)("div",{className:"article_title-icon",children:d?(0,r.jsx)(o.Z,{src:t}):t}):null,c===a.h1&&(0,r.jsx)(u,{style:i||{},className:`article_title_h1 ${s?s.join(" "):""}`,children:n}),c===a.h2&&(0,r.jsx)("h2",{style:i||{},className:`article_title_h2 ${s?s.join(" "):""}`,children:n}),c===a.h3&&(0,r.jsx)("h3",{style:i||{},className:`article_title_h3 ${s?s.join(" "):""}`,children:n}),c===a.capabolity_subTitle&&(0,r.jsx)("h3",{style:i||{},className:`capabolity_subTitle ${s?s.join(" "):""}`,children:n})]})}},44095:(e,t,n)=>{"use strict";n.d(t,{V:()=>d});var a=n(18267),o=n.n(a),r=(n(51810),n(75334)),i=n(56780),s=n(85427),l=n(84940);const c=e=>{let{item:t}=e;return(0,l.jsxs)("div",{className:"capabolityItem",children:[(0,l.jsx)("div",{className:"capabolityItem-image",children:(0,l.jsx)(r.Z,{src:t.imgSrc.src,alt:t.title,responsiveImageWebp:t.imgSrc.webp,imgStyle:{width:"100%"}})}),(0,l.jsxs)("div",{className:"capabolityItem-content",children:[(0,l.jsx)(i.D,{value:t.title,label:i.J.capabolity_subTitle}),(0,l.jsx)(s.Z,{value:t.content,style:{fontWeight:"400",lineHeight:"170%",fontFamily:"Albert Sans Medium"}})]})]})},d=e=>{let{data:t}=e;const{title:n,items:a}=t;return(0,l.jsxs)("article",{className:"capabolity",children:[(0,l.jsx)("div",{className:"capabolity-title",children:(0,l.jsx)(i.D,{value:n,label:i.J.h2})}),(0,l.jsx)("div",{className:"capabolity-contentList",children:o()(a).call(a,((e,t)=>(0,l.jsx)(c,{item:e},`capabolityIndex_${t}`)))})]})}},52522:(e,t,n)=>{"use strict";n.d(t,{Q:()=>g});var a=n(18267),o=n.n(a),r=n(51810),i=n(31702),s=n(5789),l=n.n(s),c=n(85427),d=n(56780),u=n(84940);const p=e=>{let{visible:t,contents:n}=e;return(0,u.jsx)("div",{className:l()("faqSubItems",t?"":"faqSubItems__hidden"),children:o()(n).call(n,((e,t)=>(0,u.jsxs)(r.Fragment,{children:[(0,u.jsx)("h4",{className:"faqSubItems-title",children:e.subTitle}),(0,u.jsx)(c.Z,{value:e.subContent})]},t)))})},g=e=>{let{data:t}=e;const{title:n,items:a}=t,[s,c]=(0,r.useState)(o()(a).call(a,((e,t)=>({...e,visible:0===t}))));return(0,r.useEffect)((()=>{c(o()(a).call(a,((e,t)=>({...e,visible:0===t}))))}),[a]),(0,u.jsxs)("div",{className:"fq",children:[(0,u.jsx)("div",{className:"fq-title",children:(0,u.jsx)(d.D,{label:d.J.h2,value:n.value,children:n.exact})}),(0,u.jsx)("div",{className:"fq-body",children:o()(s).call(s,((e,t)=>(0,u.jsxs)("div",{className:"fq-section",children:[(0,u.jsxs)("div",{className:"fq-section-action_bar",onClick:()=>{return e=t,void c((t=>o()(t).call(t,((t,n)=>({...t,visible:n===e&&!t.visible})))));var e},children:[(0,u.jsx)(d.D,{value:e.title,label:d.J.h3}),(0,u.jsx)(i.tNd,{fill:"currentColor",stroke:"currentColor",className:l()("fq-section-action",e.visible?"":"fq-section-action__hidden")}),(0,u.jsx)(i.ir$,{fill:"currentColor",stroke:"currentColor",className:l()("fq-section-action",e.visible?"fq-section-action__hidden":"")})]}),e?.contents&&(0,u.jsx)(p,{visible:e.visible,contents:e.contents})]},`fqIndex_${t}`)))})]})}},20061:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});n(51810);var a=n(56780),o=n(47482),r=n(84940);const i=e=>{let{data:t,onClickDocFooterBtn:n}=e;return(0,r.jsxs)("div",{className:"docFooter",children:[(0,r.jsx)("div",{className:"docFooter-title",children:(0,r.jsx)(a.D,{value:t.content,classNames:["mb_title"],label:a.J.h1,noHeadLineWithLevel1:!0})}),(0,r.jsx)("div",{children:t.button&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"docFooter-button",children:(0,r.jsx)(o.Z,{value:t.button?.value,icon:!1,onClick:n})}),(0,r.jsx)("div",{className:"docFooter-button-mb",children:'"Switch to desktop to open online editor"'})]})})]})}},85026:(e,t,n)=>{"use strict";n.d(t,{m:()=>u});n(51810);var a=n(5789),o=n.n(a),r=n(31702),i=n(56780),s=n(85427),l=n(47482),c=n(75334),d=n(84940);const u=e=>{let{data:t,onClickDocIntroBtn:n,onImageClick:a}=e;const u=Boolean(a),{title:p,content:g,button:m,imgSrc:h}=t;return(0,d.jsxs)("div",{className:"docIntroduction",children:[(0,d.jsxs)("div",{className:"docIntroduction-content",children:[(0,d.jsx)(i.D,{value:p,label:i.J.h1}),(0,d.jsx)(s.Z,{value:g}),m?.value?(0,d.jsx)("div",{className:"docIntroduction-content-button",children:(0,d.jsxs)("div",{className:"docIntroduction-content-button-pc",children:[(0,d.jsx)(l.Z,{value:m.value,href:m.href,target:"_blank",onClick:n}),m.label&&(0,d.jsx)("div",{className:"docIntroduction-content-button-subtitle",children:m.label})]})}):null]}),(0,d.jsxs)("div",{className:o()("docIntroduction-image",u?"docIntroduction-image__clickable":""),onClick:u?a:void 0,children:[u?(0,d.jsx)(r.Bwj,{className:"docIntroduction-play"}):null,(0,d.jsx)(c.Z,{src:h.src,alt:h.alt,responsiveImageWebp:h.webp,imgStyle:{width:"100%"}})]})]})}},43194:(e,t,n)=>{"use strict";n.d(t,{O:()=>I});var a=n(18267),o=n.n(a),r=n(96959),i=n.n(r),s=n(51810),l=n(31702),c=n(5789),d=n.n(c),u=n(37317),p=n(33113);const g="O2JxxK_9S82MYFS2qzSG",m="JJYHIqn7AMaYic3dzLpZ",h="ZkHuVHp8vuhnxBetDRbq",_="LsPmDGwO5hzsAOLJKXwg",f="q9pRi_WmmA1wGUvLt8XX",v="vfcA4owYefVt4LNPVpxq",y="fCcXlEng7ElW2K0ryKTd",b="p7XUY6g0Hmc2jSlhW93b",C="w1jvjXjFOZGfSlmV7MgD",w="eV2V6HwPs79kBLpauaju",k="e1mPy9RGt16i9cR0e0X0";var E=n(84940);const x=e=>{let{visible:t,contents:n}=e;return(0,E.jsx)("div",{className:d()(_,t?"":v),children:(0,E.jsx)("div",{className:d()(f),children:o()(n).call(n,((e,t)=>(0,E.jsx)(s.Fragment,{children:(0,E.jsx)(u.xv,{value:e.subContent,label:u.JG.body2})},t)))})})};const I=e=>{let{data:t}=e;const{title:n,items:a}=t,r=(0,s.useRef)(a),[c,_]=(0,s.useState)(o()(a).call(a,((e,t)=>({...e,visible:0===t}))));return(0,s.useEffect)((()=>{var e,t;(e=r.current,t=a,i()(e)!==i()(t))&&_(o()(a).call(a,((e,t)=>({...e,visible:0===t}))))}),[a]),(0,E.jsxs)("div",{className:g,children:[(0,E.jsx)("div",{className:m,children:(0,E.jsx)(p.n,{label:p.J.h2,value:n.value})}),(0,E.jsx)("div",{className:h,children:o()(c).call(c,((e,t)=>(0,E.jsxs)("div",{className:d()(y,e.visible?b:""),children:[(0,E.jsxs)("div",{className:C,onClick:()=>{return e=t,void _((t=>o()(t).call(t,((t,n)=>({...t,visible:n===e&&!t.visible})))));var e},children:[(0,E.jsx)(u.xv,{value:e.title,label:u.JG.body1,tagType:u.Qy.h3}),(0,E.jsx)(l.keV,{fill:"#16161D",stroke:"#16161D",className:d()(w,e.visible?"":k)})]}),e?.contents&&(0,E.jsx)(x,{visible:e.visible,contents:e.contents})]},`fqIndex_${t}`)))})]})}},49980:(e,t,n)=>{"use strict";n.d(t,{x:()=>_});var a=n(18267),o=n.n(a),r=(n(51810),n(29858)),i=n(42949),s=n(57953),l=n(95020),c=n(25237),d=n(79546),u=n(37317),p=n(47482),g=n(75334),m=n(33113),h=n(84940);const _=e=>{let{data:t,restProps:n}=e;const{items:a}=t,_=(0,s.jI)(n||{});return(0,h.jsx)("article",{className:"scene-container",children:o()(a).call(a,((e,t)=>{const{buttonText:n,buttonUrl:a,buttonAction:o}=e.button||{};return(0,h.jsxs)("div",{className:"scene "+(t%2?"scene-reverse":""),children:[(0,h.jsxs)("div",{className:"scene-content",children:[(0,h.jsx)("div",{className:"scene-content-title",children:(0,h.jsx)(m.n,{value:e.title.value,label:m.J.h3,classNames:["pc_title","mobile_title"]})}),(0,h.jsx)(u.xv,{value:e.content,label:u.JG.body2}),n&&(0,h.jsx)("div",{className:"btn-wrap",children:(0,h.jsx)(p.Z,{responsiveSizeRule:!0,iconInline:!0,customTheme:"dark",onClick:()=>{const t=`${l.q$.PICTURE}_${e.title.value}`;(new c.D).report({..._,position:t,action:o||"",action_url:a}),(new d.eG).reportForArticlePageButton(o||"",{..._,position:t,current_page:r.WB.PAGE_ARTICLE});const n=(0,i.G)(a||"",{[r.WB.ENTER_FROM]:t,[r.WB.FROM_PAGE]:"article_page"});window.open(n)},type:"primary",size:"large",value:n})})]}),(0,h.jsx)("div",{className:"scene-image",children:(0,h.jsx)(g.Z,{src:e.imgSrc.src,responsiveImageWebp:e.imgSrc.webp,imgStyle:{width:"100%",height:"100%"},style:{width:"100%",height:"100%"},alt:e.imgSrc.alt||e.title.value})})]},`Scene_${t}`)}))})}},29097:(e,t,n)=>{"use strict";n.d(t,{JY:()=>U,Lg:()=>W,BW:()=>B});var a=n(18267),o=n.n(a),r=n(39333),i=n.n(r),s=(n(51810),n(84858)),l=n(23169),c=n(19093),d=n(5789),u=n.n(d),p=n(31702),g=n(47181),m=n(17137),h=n(88207),_=n(32383);const f="NueYktRouPa_3pZRNZJD",v="Sm_w4aq7_Pifdwt1WUQR",y="oM4LIS276EiXzIvXo0wn",b="gsKxvg6ktj3U61nkYZDL",C="cZiqSM85Urx19evqgS9U",w="xv8c70Je67lHyZC7TNVl",k="fp19oIoxNbHJ1vV7sMv9",E="W4KRJgHJUjfRSKATH3_O",x="XcTijUk6DmRKI7dMjfY5",I="O2BOyepENyqbhoWcBJp1",T="D9FALuVh0wvyXFA7LCnE",N="UWlKK_pKn2FXmPnn7Aoa",S="iNlGg6Yv54lqW97uffHj",R="Ok0_2SDaRUGZ76gQNIWE",P="sOVpDWgw49UlA6c223v5",A="q7YFySISehR24ing8qfW",j="NDJXk5j96cKtM9fskyoU",L="Fg_JRZIGr0Y4VGQJAqyz",O="h_icY08_Eg4nKXRgctSR",D="UACl8T26YIqZ0hkho9O_";var M=n(84940);const F=e=>{let{data:t,selected:n,mode:a,onClick:o}=e;return(0,M.jsxs)("li",{className:u()(N,{[R]:"single"===a&&n,[P]:"multiple"===a&&n}),onClick:o,children:[(0,M.jsx)("img",{className:u()(A,j),src:t.icon,alt:_.ZP.t(t.text_starling,{},t.text),crossOrigin:"anonymous"}),(0,M.jsx)("img",{className:u()(A,L),src:t.deep_mode_icon,alt:_.ZP.t(t.text_starling,{},t.text),crossOrigin:"anonymous"}),(0,M.jsx)("div",{className:O,children:_.ZP.t(t.text_starling,{},t.text)}),"multiple"===a?(0,M.jsx)("div",{className:S,children:(0,M.jsx)(p.KEu,{fill:"var(--lvv-color-text-content-1)"})}):null]})},U=e=>{let{service:t}=e;const[n,a]=(0,m.L)(t),{questionList:r,question:c,questionCount:d,answers:g,answer:h}=n.context;return(0,M.jsxs)("div",{className:v,children:[(0,M.jsx)("h2",{className:y,children:_.ZP.t(c.title_starling,{},c.title)}),(0,M.jsx)("h3",{className:b,children:_.ZP.t(c.description_starling,{},c.description)}),(0,M.jsx)("p",{className:C,children:"single"===c.type?_.ZP.t("select_only_one",{},"Select only one"):_.ZP.t("select_all_that_apply",{},"Select all that apply")}),(0,M.jsx)("div",{className:D,onClick:function(){a({type:"SKIP",onError:()=>s.Z.error(_.ZP.t("web_editor_sdk_error"))})},children:_.ZP.t("web_users_arouse_skip",{},"Skip")}),o()(r).call(r,(e=>{var t;return(0,M.jsx)("ul",{className:u()(I,{[T]:e.key===c.key}),children:o()(t=e.answer_list).call(t,(e=>(0,M.jsx)(F,{data:e,selected:Boolean(i()(h).call(h,(t=>t===e.key))),mode:c.type,onClick:()=>{var t;a({type:"CHECK",key:(t=e).key,text:t.text_starling})}},e.key)))},e.key)})),(0,M.jsxs)("div",{className:w,children:[g.length>0?(0,M.jsxs)(l.Z,{type:"default",size:"large",className:E,onClick:function(){a({type:"BACK"})},children:[(0,M.jsx)(p.ezc,{className:x}),"Back"]}):(0,M.jsx)("div",{}),(0,M.jsxs)("p",{className:k,children:[(0,M.jsx)("span",{children:n.context.answers.length+1})," / ",d]}),g.lengths.Z.error(_.ZP.t("web_editor_sdk_error"))})},children:"Submit"})]})]})},B=e=>c.Z.info({maskClosable:!1,escToExit:!1,alignCenter:!1,wrapStyle:{zIndex:1101},modalRender:()=>(0,M.jsx)("div",{className:f,children:(0,M.jsx)(U,{service:e})})}),W=()=>{const e=(0,h.k)(g.fd);return(0,M.jsx)(U,{service:e})}},33063:(e,t,n)=>{"use strict";n.d(t,{G:()=>K});var a=n(15700),o=n.n(a),r=n(97039),i=n.n(r),s=n(34567),l=n.n(s),c=n(18267),d=n.n(c),u=n(8525),p=n.n(u),g=n(28082),m=n.n(g),h=n(39786),_=n.n(h),f=n(51810),v=n(5789),y=n.n(v),b=n(70749),C=n(79546),w=n(86468),k=n(63427),E=n(93862),x=n(25082),I=n(78158),T=n(9378),N=n(71098),S=n(42949),R=n(79449),P=n(17476),A=n(32383),j=n(29858),L=n(39333),O=n.n(L),D=n(78976),M=n(61736),F=n(31702);const U="hbkxW3EY6WrtJ3V4YQxZ",B="JKDYR_zqHHVlaWf2NCNb",W="Q0u1MhO0ZML4fYW9Ozf2",G="pb6nGB6hzU5OIl4Qo3Xl";var Z=n(84940);const H=e=>{let{locale:t,languages:n,onChange:a}=e;const[o,r]=(0,f.useState)(!1);return(0,Z.jsx)(D.Z,{trigger:"click",selectable:!0,droplist:(0,Z.jsx)(M.Z,{className:U,selectedKeys:[t],children:d()(n).call(n,(e=>(0,Z.jsx)(M.Z.Item,{onClick:()=>{return t=e.value,void a?.(t);var t},children:e.label},e.value)))}),onVisibleChange:function(e){r(e)},children:(0,Z.jsxs)("div",{className:B,children:[O()(n).call(n,(e=>e.value===t))?.label,(0,Z.jsx)(F.ReA,{className:y()(W,{[G]:o}),stroke:"currentColor"})]})})};var z,q,Y=n(46278),V=n(19245);!function(e){e.SOCIAL="social"}(z||(z={})),function(e){e.SOCIAL="social"}(q||(q={}));const K=e=>{var t,n,a,r,s;const{wrapperStyle:c={},wrapperClassName:u,border:g,footerData:h,assignBuriedToMenu:v,supportLocales:L,query:O,path:D}=e,M=(0,f.useRef)(new I.uL({locale:A.ZP.language,countryCode:void 0,getBrowserLang:()=>(0,T.j)()?window.navigator.language:void 0,cookieGetter:o()(t=E.Z.get).call(t,E.Z),cookieSetter:o()(n=E.Z.set).call(n,E.Z)})),{data:F,run:U}=(0,R.ZP)(P.B.getFooter,{cacheKey:"LvCMS.getFooter"}),B=i()(a=l()(r=d()(s=M.current.getSupportLocales()).call(s,(e=>({value:e.locale,label:e.text})))).call(r,(e=>!p()(L)||m()(L).call(L,e.value)))).call(a),W=e=>d()(e).call(e,(e=>e.children?.length?e.key===z.SOCIAL?(0,Z.jsx)(Z.Fragment,{}):(0,Z.jsxs)("dl",{className:"group",children:[(0,Z.jsx)("dt",{className:"title",children:(0,N.e)(e.title)}),W(e.children)]},e.title):(0,Z.jsxs)(x.Z,{target:"_blank",href:(0,S.G)(e.href,{...O,[j.WB.ENTER_FROM]:b.q.FOOTER,[j.WB.FROM_PAGE]:v?.current_page??"",from_article_url_path:D||""}),className:"link",onClick:()=>{return t=e,(new b.H).report(_()({target:t.parent,target_second:(0,N.e)(t.title),position:b.q.FOOTER},v||{})),void("ios"===t.title?(new C.eG).report({channel:C.io.APPLE,position:C.FL.PAGE_FOOTER,current_page:v?.current_page??"",url:location.href}):"android"===t.title?(new C.eG).report({channel:C.io.GOOGLE,position:C.FL.PAGE_FOOTER,current_page:v?.current_page??"",url:location.href}):"/templates"===t.href&&(new w.v).report({position:C.FL.PAGE_FOOTER,current_page:v?.current_page??""}));var t},children:[e.icon?(0,Z.jsxs)(Z.Fragment,{children:[(0,Z.jsx)("img",{alt:e.title,className:"icon icon__light",src:e.icon_light,loading:"lazy"}),(0,Z.jsx)("img",{alt:e.title,className:"icon icon__dark",src:e.icon,loading:"lazy"})]}):null,(0,Z.jsx)("dd",{className:"link-title",children:(0,N.e)(e.title)})]},e.title)));return(0,f.useEffect)((()=>{h||U({language:A.ZP.language})}),[h]),(0,Z.jsx)("div",{className:y()("libs-pc-footer-wrapper",g?"border":"",u),style:c,children:(0,Z.jsxs)("div",{className:"libs-pc-footer-container",children:[(0,Z.jsxs)("div",{className:"libs-pc-footer-logo-container",children:[(0,Z.jsx)("img",{className:"libs-pc-footer-logo__light",width:170,height:32,src:Y,alt:"Capcut",loading:"lazy"}),(0,Z.jsx)("img",{className:"libs-pc-footer-logo__dark",width:170,height:32,src:V,alt:"Capcut",loading:"lazy"}),(0,Z.jsx)("div",{className:"libs-pc-footer-context",children:A.ZP.t("web_free_all_in_one",{},"Free all-in-one video editor for everyone to create anything anywhere")}),(0,Z.jsx)("div",{className:"libs-pc-footer-language",children:(0,Z.jsx)(H,{locale:M.current.getCurrentLocale(),languages:B,onChange:e=>{(new k.n).report({...v,language_before:M.current.getCurrentLocale(),language_after:e,position:"page_footer"}),M.current.setCurrentLocale(e),window.location.href=M.current.formatLocalePath({path:`${location.pathname}${location.search}`})}})}),(0,Z.jsx)("div",{className:"libs-pc-footer-social",children:(e=>{const t=l()(e).call(e,(e=>e.key===q.SOCIAL));var n;return t.length&&t[0]?.children?(0,Z.jsx)(Z.Fragment,{children:d()(n=t[0].children).call(n,((e,t)=>(0,Z.jsxs)("a",{href:e.href,target:"_blank",rel:"noreferrer",children:[(0,Z.jsx)("img",{className:"socialLink-img__dark",src:e.icon,alt:e.title},`footer-social-dark-${t}`),(0,Z.jsx)("img",{className:"socialLink-img__light",src:e.icon_light,alt:e.title},`footer-social-light-${t}`)]},e.title)))}):(0,Z.jsx)(Z.Fragment,{})})(h??F?.data?.data??[])})]}),(0,Z.jsx)("div",{className:"libs-pc-footer-links",children:W(h??F?.data?.data??[])})]})})}},6391:(e,t,n)=>{"use strict";n.d(t,{K:()=>St});var a=n(18267),o=n.n(a),r=n(51810),i=n(9887),s=n.n(i),l=n(80294),c=n.n(l);const d=(e,t,n)=>{const a=[...e],o=[],r=[],i=[];return e.length?(s()(a).call(a,(e=>{e&&(!t&&!e.parent||t&&e.parent===t?r[e.order]=e:i.push(e))})),r.length?(s()(r).call(r,(e=>{e&&o.push({...e,paths:[...n||[],e.path],children:d(i,e.path,[...n||[],e.path])})})),o):o):o};var u=n(76497),p=n(42949),g=n(70749),m=n(2885),h=n(79449),_=n(17476),f=n(89736),v=n(32383),y=n(5789),b=n.n(y),C=n(29858);function w(e,t){let{currentPage:n,currentPath:a,...o}=t;return/\/editor-tools\//.test(e)?(0,p.G)(e,{...o,[C.WB.ENTER_FROM]:g.q.HEADER,[C.WB.QUERY_FROM_PAGE]:n}):n===C.WB.ARTICLE_PAGE||C.WB.PAGE_ARTICLE_GROUP?(0,p.G)(e,{...o,[C.WB.ENTER_FROM]:g.q.HEADER,[C.WB.FROM_PAGE]:n,[C.WB.FROM_ARTICLE_URL_PATH]:a}):(0,p.G)(e,{...o,[C.WB.ENTER_FROM]:g.q.HEADER,[C.WB.FROM_PAGE]:n})}const k=(0,r.createContext)({isMobile:!1,isMac:!1,query:{},menuReporterParams:void 0,downloadLinkGroup:void 0});var E=n(31702),x=n(84940);const I=e=>{const{open:t=!1,onTriggered:n,...a}=e;return(0,x.jsx)("div",{...a,onClick:()=>{n&&n(!t)},children:t?(0,x.jsx)(E.bMz,{className:"menu",fill:"currentColor",stroke:"currentColor"}):(0,x.jsx)(E.dcc,{className:"menu",fill:"currentColor",stroke:"currentColor"})})},T=e=>{const{renderMenu:t,renderActions:n,wrapperStyle:a={},wrapperClassName:o="",border:i=!1,transparentBorder:s=!1,fixed:l=!1,menuTrigger:c=!1,query:d={},homepage:u,onMenuTrigger:p,onLogoClick:g}=e;const{menuReporterParams:m}=(0,r.useContext)(k);return(0,x.jsxs)("div",{id:"js-lv_header",className:b()("Lv_pc_Header-wrapper",o,{bottom_border:i,bottom_border__transparent:s,mobile_open:c,fixed:l}),style:a,children:[(0,x.jsx)(I,{className:"menu-trigger",onTriggered:p,open:c}),(0,x.jsx)("a",{className:"logo",href:u?.href?w(u.href,{...d,currentPage:m?.current_page??""}):"javascript:void 0",target:"_self",onClick:function(){u?.onClick?.(),g?.()}}),(0,x.jsx)("div",{className:"menu-bar",children:t}),(0,x.jsx)("div",{className:"action-bar",children:n})]})};var N,S=n(39786),R=n.n(S),P=n(86468),A=n(83536),j=n(49702),L=n.n(j),O=n(59851),D=n.n(O),M=n(79546);!function(e){e.TOOLS="tools"}(N||(N={}));const F={title:"download",titleDefault:"Download"},U=-1,B="KVI56safsQnMkEZTskGg",W="skR2XkWW40tdXKhirr_E",G="SPIv1Df7k88qmVAAhArE",Z="kbVqKe7EZEDl6Qu3qYQR",H="NRfYr4CYy6aTDYWlSRAo",z="Zewf5S01VkIg6GKS9A6V",q="PJpLLOpa1VHthPaEMkNw",Y="RSGCnZradDUZBRlcoAln",V="Zk8OiYANnfvfe8RzhwMG";var K=n(87860),J=n(4611);const X=e=>{let{img:t,title:n,subTitle:a,url:o,imgClassname:r,classname:i,style:s,onClick:l}=e;return(0,x.jsxs)("a",{className:b()(W,i),style:s,href:o,onClick:l,children:[(0,x.jsx)("div",{className:H,children:(0,x.jsx)("img",{className:r,src:t,alt:n})}),(0,x.jsxs)("div",{className:Y,children:[(0,x.jsx)("h2",{className:Z,children:n}),(0,x.jsx)("p",{className:V,children:a})]})]})},Q=e=>{let{visible:t,firstEnter:n}=e;const{menuReporterParams:a,downloadLinkGroup:o,isMac:i,query:s}=(0,r.useContext)(k);return(0,x.jsxs)("div",{className:B,children:[(0,x.jsx)(X,{onClick:function(){(new g.H).report({target:v.ZP.t(F.title,{},F.titleDefault),target_second:i?v.ZP.t("web_download_for_mac",{},"Download for Mac"):v.ZP.t("web_download_for_windows",{},"Download for Windows"),position:g.q.HEADER,current_page:a?.current_page??""}),(new M.eG).report({current_page:a?.current_page??"",channel:i?M.io.MAC:M.io.WINDOWS,position:M.FL.PAGE_HEADER,url:location?.href})},img:K,imgClassname:z,title:i?v.ZP.t("web_download_for_mac",{},"Download for Mac"):v.ZP.t("web_download_for_windows",{},"Download for Windows"),url:(i?o?.mac:o?.win)??"",subTitle:v.ZP.t("web_the_most_professional_video_editing_software",{},"The most professional video editing software on the desktop"),classname:b()({[G]:t}),style:n?{transitionDelay:"0.08s"}:{transitionProperty:"opacity background-color"}}),(0,x.jsx)(X,{img:J,imgClassname:q,onClick:function(){(new g.H).report({target:v.ZP.t(F.title,{},F.titleDefault),target_second:v.ZP.t("web_download_for_mobile",{},"Download for mobile"),position:g.q.HEADER,current_page:a?.current_page??""})},title:v.ZP.t("web_download_for_mobile",{},"Download for mobile"),url:(0,p.G)("/tools/video-editing-app",s),subTitle:v.ZP.t("web_edit_wonderful_videos",{},"Edit wonderful videos anytime, anywhere with your mobile phone"),classname:b()({[G]:t}),style:n?{transitionDelay:"0.16s"}:{transitionProperty:"opacity background-color"}})]})},$="raLgT6JFQGWtXSvXqbEx",ee="JzauYVxjI1_K1bNPZg9n",te="bQ79zwU26acLtCrylbcl",ne="wgZSrIKZTscoUaPPsfVp",ae="NnctQu3Yn8xmwqVzeeV7",oe="DY55z0Ep24JWJJcLimKx",re="viKIwWa06l0sD2jgz5QO",ie="NoTuMRUu86iiDNcXrPfA",se="UFY0o3KTMYrYt8hqOZni",le="vE2TjPCR92q6ZeAsQdMz",ce="rF40wHehoUvaFyaJLcZT",de=e=>{let{title:t,titleClassname:n,visible:a,firstEnter:i,animated:s,isMobile:l,onClick:c}=e;const{menuReporterParams:d,query:u,path:p}=(0,r.useContext)(k),g=[{icon:(0,x.jsx)(E.Lkq,{size:20,className:se}),title:v.ZP.t("web_online_video_editor"),subTitle:v.ZP.t("web_easily_edit_your_videos"),href:"/tools/online-video-editor"},{icon:(0,x.jsx)(E.c0T,{size:20,className:se}),title:v.ZP.t("web_video_editor_for_desktop"),subTitle:v.ZP.t("web_nimble_video_editor"),href:"/tools/desktop-video-editor"},{icon:(0,x.jsx)(E.IC3,{size:20,className:se}),title:v.ZP.t("web_video_editor_for_mobile"),subTitle:v.ZP.t("web_record_edit_and_share"),href:"/tools/video-editing-app"}];return(0,x.jsxs)("div",{className:b()($,{[ee]:l}),children:[(0,x.jsx)("div",{className:n??b()(te,{[ne]:l}),children:v.ZP.t("web_video_editor")}),(0,x.jsx)(x.Fragment,{children:o()(g).call(g,((e,n)=>(0,x.jsx)("a",{className:ae,href:w(e.href,{...u,currentPage:d?.current_page??"",currentPath:p||""}),onClick:()=>c?.({target:t||v.ZP.t("web_video_editor"),target_second:t?v.ZP.t("web_video_editor"):e.title,target_third:t?e.title:""}),children:(0,x.jsxs)("div",{className:b()(oe,{[re]:s,[ie]:a}),style:i&&a?{transitionDelay:.08+.02*n+"s"}:{transitionDuration:".24s",transitionProperty:"opacity"},children:[e.icon,(0,x.jsx)("div",{className:le,children:(0,x.jsx)("div",{className:ce,children:e.title})})]})},`guideItem-${n}`)))})]})},ue="L6kgH6MFJfcK906UKytu",pe="bJOSqS1JwEdzP6WCUJ1A",ge="LtTKtbM8aelTh694sJJ9",me="D67YYQQx8vSCtm77UiQp",he="Zxzgku_dLFFxb7QrANyX",_e="eJaxQkAEvfS3tEpUdIwM",fe="puSgYE212wuySi9cyDMd",ve="zvqYGB5myADQ7dREOtBE",ye="wP9_oqiWAFyWL37Gr2Iw",be="iFDDOT_IhntcmRmwI2js",Ce="e5_M3NFROx8tw0oJZ7pg",we="fVzIYxUCwv69uweCJJAd",ke="FO1d07oFuvxakPrMR2PG",Ee="kxmk90fJjDuZvzk99gS4",xe="mZQZubwhqrRsnjA6yPQS",Ie="gGjmX9_ChKBSfKWwM5bx",Te=[.08,.16,.2,.22,.23],Ne=e=>{let{data:t,enter:n,classname:a,style:o,children:i,onClick:s}=e;const{menuReporterParams:l,query:c,path:d}=(0,r.useContext)(k);return(0,x.jsx)("dt",{className:b()(we,a,{[Ee]:n}),style:o,children:t.href?(0,x.jsx)("a",{href:w(t.href,{...c,currentPage:l?.current_page??"",currentPath:d||""}),target:"_blank",onClick:()=>s?.(t),rel:"noreferrer",children:i}):i})},Se=e=>{let{data:t,enter:n,classname:a,style:o,children:i,onClick:s}=e;const{menuReporterParams:l,query:c,path:d}=(0,r.useContext)(k);return(0,x.jsx)("dd",{className:b()(ke,a,{[xe]:n}),style:o,children:t.href?(0,x.jsx)("a",{href:w(t.href,{...c,currentPage:l?.current_page??"",currentPath:d||""}),target:"_blank",onClick:()=>s?.(t),rel:"noreferrer",children:i}):i})},Re=e=>{let{children:t}=e;return(0,x.jsx)("div",{className:Ie,children:t})},Pe=e=>{let{index:t,visible:n,ready:a,firstEnter:r,data:i,children:s,onClick:l,onGuideClick:c}=e;return(0,x.jsx)("div",{className:b()("js-menu-pannel-container",me,{[_e]:a,[fe]:a&&!n}),"data-index":`${t}`,children:i?(0,x.jsxs)(x.Fragment,{children:[i?.key===N.TOOLS&&(0,x.jsx)(Re,{children:(0,x.jsx)(de,{title:i.title,animated:!0,visible:n,firstEnter:r,onClick:c})}),(0,x.jsxs)("div",{children:[i?.key===N.TOOLS&&(0,x.jsx)("div",{className:ve,children:i?.title}),(0,x.jsx)("div",{className:ye,children:i?.children?.map(((e,t)=>{var a;return(0,x.jsxs)("dl",{className:b()(be,i?.key===N.TOOLS?Ce:""),children:[(0,x.jsx)(Ne,{data:e,firstEnter:r,enter:n,style:r&&n?{transitionDelay:`${Te?.[t+(i?.key===N.TOOLS?1:0)]??.23}s`}:{transitionDuration:".24s",transitionProperty:"opacity"},onClick:l,children:v.ZP.t(e.title,{},e.titleDefault)}),e.children&&o()(a=e.children).call(a,((e,a)=>(0,x.jsx)(Se,{data:e,firstEnter:r,enter:n,style:r&&n?{transitionDelay:`${(Te?.[t+(i?.key===N.TOOLS?1:0)]??.23)+(0===a?.04:.04+.02*a)}s`}:{transitionDuration:".24s",transitionProperty:"opacity"},onClick:l,children:v.ZP.t(e.title,{},e.titleDefault)},a)))]},t)}))})]})]}):s})},Ae=e=>{let{data:t,current:n,firstEnter:a,classname:i,onClick:s,onGuideClick:l,onMouseEnter:c,onMouseLeave:d}=e;const{fixedMenuPannel:u}=(0,r.useContext)(k),[p,g]=(0,r.useState)({}),[m,h]=(0,r.useState)(!1);return(0,r.useLayoutEffect)((()=>{var e;const t=document.querySelectorAll("#js-menu-pannel .js-menu-pannel-container");g(L()(e=[...t]).call(e,((e,t)=>{const{index:n}=t.dataset;return n&&(e[n]=t.getBoundingClientRect()),e}),{}))}),[t]),(0,r.useEffect)((()=>{D()(p).length>0&&!m&&h(!0)}),[p,m]),(0,x.jsxs)("div",{id:"js-menu-pannel",className:b()(ue,{[pe]:m,[he]:m&&n!==U,[ge]:u},i),style:{height:n!==U?p[n].height:0},onMouseEnter:c,onMouseLeave:d,children:[o()(t).call(t,((e,t)=>e?.children?.length?(0,x.jsx)(Pe,{index:t,ready:m,visible:n===t,firstEnter:a,data:e,onClick:s,onGuideClick:l},t):null)),(0,x.jsx)(Pe,{index:t.length,ready:m,visible:n===t.length,firstEnter:a,onClick:s,children:(0,x.jsx)(Q,{visible:n===t.length,firstEnter:a})})]})},je="NSX7tWIYmZnLmT5BXTvs",Le="seehmQJ5TnSoVJwFp7VA",Oe="xAAdpFdoqFco0l_BfH6a",De="PWTYjdpXKG3cm2_EIAyI",Me="tyt4zU_LeXaMUJy_m4Yf",Fe=e=>{let{data:t}=e;return(0,x.jsxs)(x.Fragment,{children:[v.ZP.t(t.title,{},t.titleDefault),t.children?.length?(0,x.jsx)(E.c_Q,{className:De,fill:"currentColor",stroke:"currentColor"}):null]})},Ue=e=>{let{data:t,homepage:n,template:a,pannelClassname:i,reporterParams:s,onPannelClick:l,onGuideClick:c}=e;const{menuReporterParams:d,query:u,path:p}=(0,r.useContext)(k),[m,h]=(0,r.useState)(U),_=(0,A.Z)(m);function f(e){(new g.H).report(R()({target:`${v.ZP.t(e.title,{},e.titleDefault)}`,position:g.q.HEADER,...s})),"template"===e?.key&&(new P.v).report({current_page:s?.current_page||"",position:"page_header"})}function y(e){(e===t.length||t?.[e]?.children?.length)&&h(e)}function C(){h(U)}return(0,x.jsxs)(x.Fragment,{children:[(0,x.jsxs)("ul",{className:je,children:[n&&n.showMenuItem?(0,x.jsx)("li",{className:Le,onClick:function(){n?.onClick?.(),f({title:"web_home_page",titleDefault:"Home",order:0,href:n?.href??"",path:""})},children:n.href?(0,x.jsx)("a",{href:w(n.href,{...u,currentPage:d?.current_page??""}),target:"_self",children:v.ZP.t("web_home_page",{},"Home")}):v.ZP.t("web_home_page",{},"Home")}):null,a?.showMenuItem?(0,x.jsxs)("li",{className:Le,onClick:()=>{f({title:"web_template",titleDefault:"Template",order:0,href:a?.href??"",path:""}),(new P.v).report({current_page:s?.current_page||"",position:"page_header"})},children:[a.href&&"template_page"!==s?.current_page?(0,x.jsx)("a",{href:w(a.href,{...u,currentPage:d?.current_page??""}),target:"_self",children:v.ZP.t("web_template")}):v.ZP.t("web_template"),(0,x.jsx)("span",{className:Me,children:v.ZP.t("web_new")})]}):null,o()(t).call(t,((e,t)=>(0,x.jsxs)("li",{className:b()(Le,{[Oe]:m===t}),onMouseEnter:()=>y(t),onMouseLeave:C,children:[e.href?(0,x.jsx)("a",{href:w(e.href,{...u,currentPage:d?.current_page??"",currentPath:p||""}),target:"_blank",onClick:()=>f(e),rel:"noreferrer",children:(0,x.jsx)(Fe,{data:e})}):(0,x.jsx)(Fe,{data:e}),"template"===e?.key&&(0,x.jsx)("span",{className:Me,children:v.ZP.t("web_new")})]},t))),(0,x.jsxs)("li",{className:b()(Le,{[Oe]:m===t.length}),onMouseEnter:()=>y(t.length),onMouseLeave:C,children:[v.ZP.t(F.title,{},F.titleDefault),(0,x.jsx)(E.c_Q,{className:De,fill:"currentColor",stroke:"currentColor"})]})]}),(0,x.jsx)(Ae,{data:t,current:m,firstEnter:_===U,classname:i,onClick:l,onGuideClick:c,onMouseEnter:function(){h(m)},onMouseLeave:function(){h(U)}})]})};var Be=n(77714);const We="df8SpH73F5ZLIm7gXglI",Ge="h4zyYfF3BhjfGYTDWyaA",Ze="YABuQfk9qSkKPwj6Bdnr",He="eOwV7OGO5lPE1mIza4ng",ze="_TWmsurbEzVHXNC37fNq",qe="T91rpW13MMJQtXLeUm7E",Ye="cY1TziLTQQah8KQSEOxh",Ve="Wx_MrhAW4nDtJRybbr1Q",Ke="WZq__a0c7Q9CeMLi6uFA",Je="Gnz9AKlCLe1BExZT7lUc",Xe="Q68H5xPJtG8zuDw1guhr",Qe="k8lWMIbKWEd7TsyHl5mR",$e="_obns9hcYldNPWt8JzfX",et="pZ7GUeCn4PWo7A0nDzDE",tt="j34IeWWoyx8iEVbe2ssr",nt="KJcY2uCmeR0UQuKbbR_r",at="V880ioz8flK5rktgWGXl",ot="U1HD5p69hd8bSzXraT7G",rt="ulXZWHI1jq4WUn8ivcgN",it="JQZVPgLy3tobemR0P3eV",st="re88uDdSaM8sDmLjJkkY",lt="ptGn8Wng04wNicWHdkX4",ct="EX3lryttLIAV6IpbXch2",dt="ZcKjESTF_W_9fDyFarzU",ut="AiTfbyUb_BtjZA2XulGV",pt="RzfNDEiGQ2uiRL5nJze2",gt="Vl_imBPqZAk19IVllE9w",mt="oqDbCgOaZPW5S7nhF42y",ht=[.16,.2,.22,.23],_t=e=>{let{data:t,children:n,showArrow:a=!1,selected:o,onClick:i}=e;const{menuReporterParams:s,query:l}=(0,r.useContext)(k);return t.href?(0,x.jsxs)("a",{href:w(t.href,{...l,currentPage:s?.current_page??""}),target:"_blank",onClick:()=>i?.(t),rel:"noreferrer",children:[n,a&&t.children?.length?(0,x.jsx)(E.qs_,{className:b()(pt,{[gt]:o}),fill:"currentColor",stroke:"currentColor"}):null]}):(0,x.jsxs)(x.Fragment,{children:[n,a&&t.children?.length?(0,x.jsx)(E.qs_,{className:b()(pt,{[gt]:o}),fill:"currentColor",stroke:"currentColor"}):null]})},ft=e=>{let{children:t}=e;return(0,x.jsx)("div",{className:ut,children:t})},vt=e=>{const{visible:t,children:n,onClick:a}=e;return(0,x.jsxs)("div",{className:b()(lt,{[dt]:t}),children:[(0,x.jsx)("div",{className:ct,onClick:a}),n]})},yt=e=>{let{data:t,firstEnter:n,visible:a,showGuide:o,showDownload:r,onClick:i,onGuideClick:s}=e;return(0,x.jsxs)("div",{className:b()(nt,{[at]:!a}),children:[r?(0,x.jsx)(Q,{firstEnter:n,visible:a}):null,o?(0,x.jsx)(ft,{children:(0,x.jsx)(de,{title:"test",titleClassname:qe,onClick:s,animated:!0,visible:a,firstEnter:n})}):null,(0,x.jsx)(ft,{children:(0,x.jsxs)("div",{children:[t.key===N.TOOLS&&(0,x.jsx)("h2",{className:qe,children:v.ZP.t(t.title,{},t.titleDefault)}),(0,x.jsx)("ul",{className:Ye,children:t.children?.map(((e,t)=>(0,x.jsx)("li",{className:Ve,children:(0,x.jsxs)("dl",{children:[(0,x.jsx)("dt",{children:(0,x.jsx)("h3",{className:b()(Ke,{[Xe]:a}),style:n&&a?{transitionDelay:`${ht[t]}s`}:{transitionDuration:".24s",transitionProperty:"opacity"},children:(0,x.jsx)(_t,{data:e,onClick:i,children:v.ZP.t(e.title,{},e.titleDefault)})})}),e?.children?.map(((e,o)=>(0,x.jsx)("dd",{className:b()(Je,{[Qe]:a}),style:n&&a?{transitionDelay:`${ht[t]+(0===o?.04:.04+.02*o)}s`}:{transitionDuration:".24s",transitionProperty:"opacity"},children:(0,x.jsx)(_t,{data:e,onClick:i,children:v.ZP.t(e.title,{},e.titleDefault)})},o)))]},t)},t)))})]})})]})},bt=e=>{let{item:t,selected:n,onClick:a,onMouseEnter:o,commonReporterParams:r}=e;const i=e=>{a?.(e),"template"===e?.key&&(new P.v).report({current_page:r?.current_page||"",position:"page_header"})};return(0,x.jsx)("li",{className:ot,children:(0,x.jsxs)("h2",{className:b()(rt,it,{[st]:n}),onMouseEnter:o,children:[(0,x.jsx)(_t,{data:t,showArrow:!0,selected:n,onClick:()=>i(t),children:v.ZP.t(t.title,{},t.titleDefault)}),"template"===t?.key&&(0,x.jsx)("span",{className:mt,onClick:()=>i(t),children:v.ZP.t("web_new")})]})})},Ct=e=>{let{data:t,visible:n,menuClassName:a,Logo:i,template:s,setVisible:l,onClick:c,onGuideClick:d,commonReporterParams:u}=e;const[p,m]=(0,r.useState)(U),h=(0,A.Z)(p),[_,f]=(0,r.useState)(!1),{menuReporterParams:y,query:C}=(0,r.useContext)(k),I=(0,r.useMemo)((()=>[...t,{title:F.title,titleDefault:F.title,key:"download",href:"",children:[{}],order:99,path:99,type:"default"}]),[t]);function T(){f(!1)}function S(){m(p)}return(0,Be.Z)("esc",(()=>{T()})),(0,r.useEffect)((()=>{f(n)}),[n]),(0,x.jsx)(vt,{visible:n,onClick:T,children:(0,x.jsxs)("div",{className:b()(We,a,{[Ze]:_}),onClick:e=>e.stopPropagation(),onTransitionEnd:()=>!_&&l(!1),children:[(0,x.jsxs)("div",{className:He,children:[(0,x.jsx)("div",{className:ze,onClick:T,children:(0,x.jsx)(E.xcW,{size:24})}),i]}),(0,x.jsxs)("ul",{children:[s?.showMenuItem&&(0,x.jsx)("li",{className:ot,onClick:()=>{(new g.H).report({target:"Template",position:g.q.HEADER}),(new P.v).report({current_page:u?.current_page||"",position:"page_header"})},children:(0,x.jsxs)("h2",{className:b()(rt,it),children:[s?.href&&"template_page"!==u?.current_page?(0,x.jsx)("a",{href:w(s.href,{...C,currentPage:y?.current_page??""}),target:"_blank",rel:"noreferrer",children:v.ZP.t("web_template")}):(0,x.jsx)(x.Fragment,{children:v.ZP.t("web_template")}),(0,x.jsx)("span",{className:mt,children:v.ZP.t("web_new")})]})}),o()(I).call(I,((e,t)=>(0,x.jsx)(bt,{item:e,selected:p===t,onClick:c,onMouseEnter:()=>function(e){m(I?.[e]?.children?.length?e:U)}(t),commonReporterParams:u},t)))]}),(0,x.jsx)("div",{className:Ge,onMouseEnter:S}),(0,x.jsx)("div",{className:b()($e,{[et]:p===U,[tt]:p===t.length}),onMouseEnter:S,onMouseLeave:function(){m(U)},children:I?.map(((e,t)=>e.children?.length?(0,x.jsx)(yt,{data:e,showGuide:Boolean(e.key===N.TOOLS),showDownload:Boolean(e.key===F.title),firstEnter:h===U,visible:p===t,onClick:c,onGuideClick:d},e.title):null))})]})})};var wt=n(6902),kt=n.n(wt),Et=n(76442);const xt={drawer:"MzHC837gcSefkWFD3pgO",drawer__hidden:"Ynt19G4AvC2ABdEryUY3",drawer__has_children:"vrtLkoioNJV909TGvA7a",drawer__has_children__up:"xfzB9hyKOn235JFxIBCG",drawer__has_children__bottom:"y0MGY9Dh4osOwLZWzzkX",drawer_list:"gm91dmglUkeo6sCWlJPq",drawer_list_item:"YyOtW5ugTez0PNJzfrQg",drawer_list_item_title:"zTxPH4xrMuJ10zjBP9bc",drawer_list_item_title__clickable:"PE_GhEN0hYAEa43tIGht",drawer_sub_list:"PC2zMBFA6CnsJ9_6tJPQ",drawer_sub_list__collapsed:"nJ_8eK6N9ij4gzoiaCbg",drawer_sub_list_item:"S1CSEx2pqW41ZCSy1rNa",drawer_sub_list_item_title:"NOqo1gs30k8HVwpAU4sf",drawer_sub_list_item_content:"mqGtXY0iYqWrPB4UefzB"},It=e=>{let{data:t,children:n,showArrow:a=!1,arrowDireaction:o="bottom",onClick:i}=e;const{menuReporterParams:s,query:l}=(0,r.useContext)(k);return t.href?(0,x.jsxs)("a",{href:w(t.href,{...l,currentPage:s?.current_page??""}),target:"_blank",onClick:()=>i?.(t),rel:"noreferrer",children:[n,a&&t.children?.length?(0,x.jsx)(E.epP,{className:b()(xt.drawer__has_children,"up"===o?xt.drawer__has_children__up:xt.drawer__has_children__bottom),fill:"currentColor",stroke:"currentColor"}):null]}):(0,x.jsxs)(x.Fragment,{children:[n,a&&t.children?.length?(0,x.jsx)(E.epP,{className:b()(xt.drawer__has_children,"up"===o?xt.drawer__has_children__up:xt.drawer__has_children__bottom),fill:"currentColor",stroke:"currentColor"}):null]})},Tt=e=>{let{children:t,showArrow:n,arrowDireaction:a}=e;return(0,x.jsxs)(x.Fragment,{children:[t,n?(0,x.jsx)(E.epP,{className:b()(xt.drawer__has_children,"right"===a?"":xt.drawer__has_children__bottom),fill:"currentColor",stroke:"currentColor"}):null]})},Nt=e=>{var t;let{data:n,visible:a,onClick:i,onGuideClick:s,menuClassName:l}=e;const[c,d]=(0,r.useState)(kt()(t=new Array(n.length)).call(t,!1)),u=e=>{let{title:t,titleDefault:n}=e;return(0,x.jsx)("a",{className:b()(xt.drawer_list_item_title,xt.drawer_list_item_title__clickable),href:Et.hy,children:(0,x.jsx)(Tt,{showArrow:!1,children:v.ZP.t(t,{},n)})})};return(0,x.jsx)("div",{className:b()(xt.drawer,a?"":xt.drawer__hidden,l),children:(0,x.jsxs)("ul",{className:xt.drawer_list,children:[(0,x.jsx)("li",{className:xt.guide_mobile_container,children:(0,x.jsx)(de,{title:"",isMobile:!0,onClick:s})}),o()(n).call(n,((e,t)=>{var n;return(0,x.jsxs)("li",{className:xt.drawer_list_item,children:[(0,x.jsx)("h2",{className:b()(xt.drawer_list_item_title,e.children?.length?xt.drawer_list_item_title__clickable:""),onClick:()=>function(e){d((t=>(t[e]=!t[e],[...t])))}(t),children:(0,x.jsx)(It,{data:e,arrowDireaction:c?.[t]?"bottom":"up",showArrow:e.key!==N.TOOLS,onClick:i,children:v.ZP.t(e.title,{},e.titleDefault)})}),e.children?.length?(0,x.jsx)("ul",{className:b()(xt.drawer_sub_list,{[xt.drawer_sub_list__collapsed]:c?.[t]}),children:o()(n=e.children).call(n,((e,t)=>{var n;return(0,x.jsx)("li",{className:xt.drawer_sub_list_item,children:e.children?.length?(0,x.jsxs)("dl",{children:[(0,x.jsx)("dt",{children:(0,x.jsx)("h3",{className:xt.drawer_sub_list_item_title,children:(0,x.jsx)(It,{data:e,onClick:i,children:v.ZP.t(e.title,{},e.titleDefault)})})}),e.children?.length?o()(n=e.children).call(n,((e,t)=>(0,x.jsx)("dd",{className:xt.drawer_sub_list_item_content,children:(0,x.jsx)(It,{data:e,onClick:i,children:v.ZP.t(e.title,{},e.titleDefault)})},t))):null]},t):null},t)}))}):null]},t)})),(0,x.jsx)("li",{className:xt.guide_mobile_container,children:(0,x.jsx)(u,{title:F.title,titleDefault:F.titleDefault})})]})})},St=e=>{const[t,n]=(0,r.useState)(!1),a=(0,m.Z)({maxWidth:1260}),{headerData:i,downloadLinkGroup:s,isBOE:l,isMobile:y=!1,isMac:b=!1,isWin:C=!1,query:w={},path:E,homepage:I,template:N,fixedMenuPannel:S,commonReporterParams:R,menuReporterParams:P,menuClassName:A,menuPannelClassname:j}=e,L=!y&&!a,O=!y&&a,D=y,{data:M,run:F}=(0,h.ZP)(_.B.getMenu,{cacheKey:"LvCMS.getMenu"}),{data:U,run:B}=(0,h.ZP)(f.X.getDownloadLinkGroup,{cacheKey:"LvTCC.getDownloadLinkGroup"}),W=(0,r.useMemo)((()=>{const e=d(M?.data?.data??i??[],void 0,void 0);return y?e?.filter((e=>"template"!==e?.key)):e}),[M,i,y]),G=e=>{const t=function(e){const t=[];let n=e;return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[])?.forEach((e=>{c()(n).call(n,(a=>a.path!==e||(t.push(a),n=a.children||[],!1)))})),t}(W,e.paths),[n,a,r]=o()(t).call(t,(e=>e.title));(new g.H).report({...P,target:n,target_second:a,target_third:r,position:g.q.HEADER})},Z=()=>{(new g.H).report({target:"logo",position:g.q.HEADER,...R})},H=e=>{(new g.H).report({...e,...R,position:g.q.HEADER})};(0,r.useEffect)((()=>{void 0===i&&F({language:v.ZP.language}),void 0!==s||y||B(l,C&&(0,u.pM)({utm_source:w?.utm_source??"",utm_medium:w?.utm_medium??""}))}),[]),(0,r.useEffect)((()=>{t&&!a&&n(!1)}),[t,a]);const z=()=>(0,x.jsx)("a",{className:"logo",href:I?.href?(0,p.G)(I.href,w):"javascript:void 0",target:"_self",onClick:Z});return(0,x.jsxs)(k.Provider,{value:{isMobile:y,isMac:b,query:w,path:E,fixedMenuPannel:S,menuReporterParams:P,downloadLinkGroup:s||U?.data},children:[(0,x.jsx)(T,{...e,wrapperStyle:{paddingLeft:L?"28px":"20px"},border:e.border||t&&D,renderMenu:L&&(0,x.jsx)(Ue,{data:W,template:N,homepage:I,pannelClassname:j,reporterParams:P,onPannelClick:G,onGuideClick:H}),menuTrigger:t,onMenuTrigger:e=>{n(e)},onLogoClick:Z}),O&&(0,x.jsx)(Ct,{data:W,template:N,visible:t,setVisible:n,onClick:G,onGuideClick:H,menuClassName:A,commonReporterParams:R,Logo:(0,x.jsx)(z,{})}),D&&(0,x.jsx)(Nt,{data:W,visible:t,onClick:G,onGuideClick:H,menuClassName:A})]})}},89725:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var a=n(51810),o=n(31702),r=n(91735);const i="uXFKLq63Fo2wL1JrRGxj",s="efEsjBoFoTCXQjgn86Pu";var l=n(84940);const c=e=>{let{isMobile:t}=e;const[n,c]=(0,a.useState)(!1),[d,u]=(0,a.useState)(void 0);(0,a.useEffect)((()=>{const e=document?.querySelector("#preview-iframe")?.contentWindow||window;!t&&e&&(e.addEventListener("scroll",(()=>{e.scrollY>e.innerHeight?c(!0):c(!1)})),u(e.document?.documentElement))}),[]);return(0,l.jsx)(r.Z,{className:i,onClick:()=>{d?.scrollTo({top:0})},style:{visibility:n&&!t?"unset":"hidden"},children:(0,l.jsx)(o.Chq,{className:s,style:{transform:"rotate(180deg)"}})})}},34531:(e,t,n)=>{"use strict";n.d(t,{Md:()=>Ee,I1:()=>xe,Lm:()=>Te,YZ:()=>Ie,ki:()=>Ce});var a=n(27918),o=n.n(a),r=n(57701),i=n.n(r),s=n(77656),l=n.n(s),c=n(51810),d=n(33945),u=n(43580),p=n(83024),g=n(5789),m=n.n(g),h=n(3201),_=n(17137),f=n(18593),v=n(31702),y=n(22599),b=n(47181),C=n(44206),w=n(32383),k=n(84940);const E=e=>{const{defaultEmail:t,defaultPassword:n,disableBtton:a=!1}=e,[o,r]=(0,c.useState)(t||""),[i,s]=(0,c.useState)(n||""),[l,d]=(0,c.useState)(!1),u=(0,c.useRef)(null),g=t=>{r(t),e.onEmailChange?.(t)},h=t=>{s(t),e.onPasswordChange?.(t)};(0,c.useEffect)((()=>{g(o),h(i)}),[]);const _=()=>{e.onSignIn(o,i)},{emailWarn:f,passwordWarn:y,confirmText:b,loading:E}=e;return(0,k.jsxs)("div",{className:"lv_sign_in_panel-content",children:[(0,k.jsx)("div",{className:"lv_sign_in_panel-or-line",children:w.oc.t("or")}),(0,k.jsxs)("div",{className:"lv_sign_in_panel-form",children:[(0,k.jsxs)("div",{className:m()("lv_sign_in_panel-form-email",{"lv_sign_in_panel-form-email-warn":""!==f}),children:[(0,k.jsx)(C.Z,{className:"lv_sign_in_panel-input",value:o,placeholder:w.oc.t("email"),onChange:g,onPressEnter:()=>{u.current?.focus?.()}}),""!==f?(0,k.jsx)("div",{className:"lv_sign_in_panel-warn",children:f}):null]}),(0,k.jsxs)("div",{className:m()("lv_sign_in_panel-form-password",{"lv_sign_in_panel-form-password-warn":""!==y}),children:[(0,k.jsx)(C.Z,{ref:u,type:l?"text":"password",className:"lv_sign_in_panel-input",value:i,placeholder:w.oc.t("password"),onChange:h,onPressEnter:_,suffix:l?(0,k.jsx)(v.bEM,{onClick:()=>{d(!1)}}):(0,k.jsx)(v.lLW,{onClick:()=>{d(!0)}})}),""!==y?(0,k.jsx)("div",{className:"lv_sign_in_panel-warn",children:y}):null]}),(0,k.jsx)(p.Z,{className:"lv_sign_in_panel-sign-in-button",type:"primary",size:"large",onClick:_,loading:E,disabled:a,children:b})]})]})};var x=n(82242),I=n(76220);const T=e=>{let{inviterName:t,invitedSpaceCap:n,inviterImg:a}=e;return(0,k.jsxs)("div",{className:"invite-info-header",children:[(0,k.jsx)(x.Z,{style:{backgroundColor:"var(--lvv-color-text-content-3)"},size:60,children:a&&(0,k.jsx)("img",{alt:"avatar",src:a})}),(0,k.jsxs)("div",{className:"invite-info-header-user",children:[(0,k.jsx)("h4",{children:w.oc.t("web_personal_invite_title",{"color-strong":e=>(0,k.jsx)("strong",{style:{fontWeight:600},children:e}),placeholder0:t})}),(0,k.jsx)("p",{children:w.oc.t("web_personal_invite_content1",{"color-strong":e=>(0,k.jsx)("span",{style:{color:"var(--lvv-color-warning-3)"},children:e}),placeholder0:n&&(0,I.ys)(n)})})]})]})},N=e=>{let{workspaceInfo:t}=e;return(0,k.jsxs)("div",{className:"invite-info-header",children:[(0,k.jsx)(x.Z,{style:{backgroundColor:"var(--lvv-color-text-content-3)"},size:60,children:t?.inviter_avatar&&(0,k.jsx)("img",{alt:"avatar",src:t?.inviter_avatar})}),(0,k.jsx)("div",{className:"invite-info-header-text",children:w.oc.t("space_invitation_title",{"color-strong":e=>(0,k.jsx)("strong",{children:e},`${e}-${Math.random()}`),placeholder0:t?.inviter_nickname,placeholder1:t?.name},"{placeholder0} invites you to join in teamspace {placeholder1}")})]})};var S=n(52576),R=n(68781);const P=e=>{let{toSignUp:t,toForgetPwd:n}=e;return(0,k.jsxs)("div",{className:"lv_sign_in_panel-log-in-footer",children:[(0,k.jsx)("div",{className:"lv_sign_in_panel-forget-container",children:(0,k.jsx)("div",{onClick:n,className:"forget-pwd-btn",children:w.oc.t("forget_password")})}),(0,k.jsxs)("div",{className:"lv_sign_in_panel-have-an-acount",children:[(0,k.jsx)("span",{className:"have-an-acount",children:w.oc.t("not_have_account")}),(0,k.jsx)("span",{onClick:t,className:"sign-up",children:w.oc.t("sign_up")})]})]})},A=e=>{let{children:t,toSignUp:n,toForgetPwd:a}=e;const r=(0,h.t)(),[s]=(0,_.L)(r),l=s.context.emailSignInRef,[d,u]=(0,_.L)(l),[p,g]=(0,c.useState)(""),[m,v]=(0,c.useState)(""),[y,C]=(0,c.useState)(!1),x=(0,f.v)(l,(e=>e.matches("signInSuccess"))),I=new(o())(window.location.search),T=Boolean(i()(I.get("from_team_invite")||"0")),A=s.context.teamInviteRef,[j]=(0,_.L)(A),{workspaceInfo:L}=j.context;(0,c.useEffect)((()=>{u({type:"INIT_LOGIN_ERROR_CB",func:e=>{const t=i()(e?.data?.message,10);t===R.B.SIGN_UP_CODE.LOGIN_ERROR_CODE.USER_NOT_EXITE||t===R.B.SIGN_UP_CODE.LOGIN_ERROR_CODE.PASSWORD_WRONG?v(w.oc.t("email_unregistered")):S.Z.error(w.oc.t("log_fail_try_again")),C(!1)}})}),[]);return(0,k.jsxs)("div",{className:"lv_sign_in_panel-detail",children:[T&&j.matches("hasInfo")?(0,k.jsx)(N,{workspaceInfo:L}):(0,k.jsx)("h2",{className:"lv_sign_in_panel-title",children:w.oc.t("log_in")}),t,(0,k.jsx)(E,{disableBtton:x,loading:!x&&y,defaultEmail:d.context.email,defaultPassword:d.context.password,confirmText:w.oc.t("log_in"),emailWarn:p,passwordWarn:m,onEmailChange:e=>{u({type:"SAVE_EMAIL",email:e}),""===e||b.s9.test(e)?g(""):g(w.oc.t("email_contain_at")),m===w.oc.t("email_unregistered")&&v("")},onPasswordChange:e=>{u({type:"SAVE_PASSWORD",password:e}),""===e||b.lI.test(e)?v(""):v(w.oc.t("set_password_rule"))},onSignIn:(e,t)=>{if(""===e||""===t)return""===e&&g(w.oc.t("fill_the_text")),void(""===t&&v(w.oc.t("fill_the_text")));""===p&&""===m&&(u({type:"CONFIRM_SIGN",email:e,password:t}),C(!0))}}),(0,k.jsx)(P,{toForgetPwd:a,toSignUp:n})]})};var j=n(59956);const L="privacyPolicy",O="termsOfCapCut",D=e=>{let{toLogIn:t,isInvitePage:n}=e;const a=(0,h.t)(),[o]=(0,_.L)(a),[,r]=(0,_.L)(o.context.emailSignInRef);return(0,c.useEffect)((()=>{const e=document.getElementById(L),t=document.getElementById(O);e&&(e.onclick=()=>{r({type:"REPORT_SIGN_IN_ACTION",action:"privacy"})}),t&&(t.onclick=()=>{r({type:"REPORT_SIGN_IN_ACTION",action:"terms"})})}),[]),(0,k.jsxs)("div",{className:"lv_sign_in_panel-sign-up-footer",children:[!n&&(0,k.jsxs)("div",{className:"lv_sign_in_panel-have-an-acount",children:[(0,k.jsx)("span",{className:"have-an-acount",children:w.ZP.t("have_an_account")}),(0,k.jsx)("span",{onClick:t,className:"log-in",children:w.ZP.t("log_in")})]}),(0,k.jsx)("div",{className:"lv_sign_in_panel-policy",children:w.ZP.t("web_sign_up_agree_policy_test",{"terms-of-user":e=>(0,k.jsx)("a",{target:"__blank",id:O,href:j.y.TERMS_OF_CAPCUT(w.ZP.language),className:"policy",children:e}),"privacy-policy":e=>(0,k.jsx)("a",{target:"_blank",id:L,href:j.y.PRIVACY_POLICY(w.ZP.language),className:"policy",rel:"noreferrer",children:e})},"By signing up, you accept the Terms of Use and Privacy Policy")})]})},M=e=>{let{children:t,toLogIn:n}=e;const a=(0,h.t)(),[r]=(0,_.L)(a),[s,l]=(0,_.L)(r.context.emailSignInRef),[d,u]=(0,c.useState)(""),[p,g]=(0,c.useState)(""),[m,f]=(0,c.useState)(!1),v=r.context.userInviteRef,[y]=(0,_.L)(v),{isInvitePage:C,invitedCode:x,inviteDetail:I}=y.context,P=C&&x,A=new(o())(window.location.search),j=Boolean(i()(A.get("from_team_invite")||"0")),L=r.context.teamInviteRef,[O]=(0,_.L)(L),{workspaceInfo:M}=O.context,F=j&&O.matches("hasInfo");(0,c.useEffect)((()=>{l({type:"INIT_SEND_CODE_ERROR_CB",func:e=>{const t=e.data?.message,n=i()(t,10);f(!1),n===R.B.SIGN_UP_CODE.SEND_CODE_ERROR_CODE.EMAIL_ERROR?u(w.ZP.t("email_contain_at")):n===R.B.SIGN_UP_CODE.SEND_CODE_ERROR_CODE.SENDING_FREQUENTLY?S.Z.error(w.ZP.t("many_code_later")):S.Z.error(w.ZP.t("fail_sign_try_again")),l({type:"BACK_TO_FILL_REGISTER_INFO"})}})}),[]);const U=()=>P?(0,k.jsx)(T,{inviterImg:I?.inviterImg,invitedSpaceCap:I?.invitedSpaceCap,inviterName:I?.inviterName}):F?(0,k.jsx)(N,{workspaceInfo:M}):(0,k.jsx)("h2",{className:"lv_sign_in_panel-title",children:w.ZP.t("sign_up")});return(0,k.jsxs)("div",{className:"lv_sign_in_panel-detail",children:[(0,k.jsx)(U,{}),t,(0,k.jsx)(E,{defaultEmail:s.context.email,defaultPassword:s.context.password,confirmText:w.ZP.t("sign_up"),emailWarn:d,passwordWarn:p,loading:m,onEmailChange:e=>{l({type:"SAVE_EMAIL",email:e}),""===e||b.s9.test(e)?u(""):u(w.ZP.t("email_contain_at"))},onPasswordChange:e=>{l({type:"SAVE_PASSWORD",password:e}),""===e||b.lI.test(e)?g(""):g(w.ZP.t("set_password_rule"))},onSignIn:(e,t)=>{if(""===e||""===t)return""===e&&u(w.ZP.t("fill_the_text")),void(""===t&&g(w.ZP.t("fill_the_text")));""===d&&""===p&&(f(!0),l({type:"NEXT",email:e,password:t,emailHasRegisterCb:()=>{f(!1),u(w.ZP.t("email_ registered"))},onError:e=>{f(!1),1031===e.error_code?u(w.ZP.t("email_contain_at")):S.Z.error(w.ZP.t("fail_sign_try_again"))}}))}}),(0,k.jsx)(D,{isInvitePage:C,toLogIn:n})]})},F=e=>{let{toLogIn:t}=e;return(0,c.useEffect)((()=>{const e=document.getElementById("back-login-btn");e&&(e.onclick=t)}),[]),(0,k.jsx)("div",{className:"lv_forget_pwd_panel-back",children:w.oc.t("web_back_to_log_in_test",{"log-in":e=>(0,k.jsx)("span",{id:"back-login-btn",className:"lv_forget_pwd_panel-back-click",children:e},e)},"Back to Log in")})},U=e=>{let{toLogIn:t,send:n,email:a}=e;const[o,r]=(0,c.useState)(""),[i,s]=(0,c.useState)(!1),l=e=>{n({type:"SAVE_EMAIL",email:e}),!b.s9.test(e)&&e?r(w.oc.t("email_contain_at")):r("")};return(0,k.jsxs)("div",{children:[(0,k.jsx)("div",{className:"lv_forget_pwd_panel-icon-wrapper",children:(0,k.jsx)("img",{src:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/forget-password-icon.png",className:"lv_forget_pwd_panel-icon lv_forget_pwd_panel-icon-reset",alt:"ForgetPasswordPNG"})}),(0,k.jsx)("div",{className:"lv_forget_pwd_panel-title lv_forget_pwd_panel-title-reset",children:w.oc.t("reset_password")}),(0,k.jsx)("div",{className:"lv_forget_pwd_panel-description lv_forget_pwd_panel-description-reset",children:w.oc.t("email_reset_password_will_be_sent")}),(0,k.jsx)(C.Z,{onChange:l,className:m()("lv_forget_pwd_panel-input lv_forget_pwd_panel-input-reset",{"lv_forget_pwd_panel-email-warn":""!==o}),placeholder:w.oc.t("email")}),""!==o?(0,k.jsx)("div",{className:"lv_forget_pwd_panel-warn",children:o}):null,(0,k.jsx)(p.Z,{loading:i,onClick:()=>{i||(b.s9.test(a)&&a?(s(!0),n({type:"INIT_RESET_EMAIL_ERROR_CB",func:e=>{r(e.description),s(!1)}}),n({type:"SEND_EMAIL",email:a,emailNotRegisterCb:()=>{r(w.oc.t("email_contain_at")),s(!1)},onError:()=>{s(!1)}})):r(w.oc.t("email_contain_at")))},type:"primary",className:"lv_forget_pwd_panel-btn lv_forget_pwd_panel-btn-reset",children:w.oc.t("web_confirm")}),(0,k.jsx)(F,{toLogIn:()=>{n("BACK_SIGN_IN"),l(""),t()}})]})},B=e=>{let{toLogIn:t,resendEmailCodeCountDown:n,email:a,send:o}=e;const r=(0,c.useMemo)((()=>{const e=void 0===n?b.tF:n,t=e>1?"email_sent_resend_email_s":"email_sent_resend_email";return w.oc.t(t,{placeholder:e}).replace(/\d+/,(e=>`${e}`))}),[n]);return(0,k.jsxs)("div",{children:[(0,k.jsx)("div",{className:"lv_forget_pwd_panel-icon-wrapper",children:(0,k.jsx)("img",{className:"lv_forget_pwd_panel-icon lv_forget_pwd_panel-icon-resend",src:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/forget-email-icon.png",alt:"ForgetEmailPNG"})}),(0,k.jsx)("div",{className:"lv_forget_pwd_panel-title lv_forget_pwd_panel-title-reset",children:w.oc.t("mail_send_success")}),(0,k.jsx)("div",{className:"lv_forget_pwd_panel-tip",children:w.oc.t("email_reset_password_sent",{placeholder:a})}),(0,k.jsx)("div",{className:"lv_forget_pwd_panel-resend-footer-container",children:0!==n?(0,k.jsx)("div",{className:"lv_forget_pwd_panel-count-down",dangerouslySetInnerHTML:{__html:r}}):(0,k.jsx)("div",{className:"lv_forget_pwd_panel-resend-btn-container",children:(0,k.jsx)("div",{onClick:()=>{o("RESEND")},className:"resend-btn",children:w.oc.t("resend_the_email")})})}),(0,k.jsx)(F,{toLogIn:()=>{o("BACK_SIGN_IN"),t()}})]})},W=e=>{let{warning:t,onInputChange:n,placeholder:a,className:o}=e;const r=(0,c.useRef)(null),[i,s]=(0,c.useState)(!1);return(0,c.useEffect)((()=>{t.length?r.current?.dom.classList.add("lv_forget_pwd_panel-warn-input"):r.current?.dom.classList.remove("lv_forget_pwd_panel-warn-input")}),[t]),(0,k.jsxs)("div",{className:`lv_forget_pwd_panel-input-container ${o}`,children:[(0,k.jsxs)("div",{onMouseEnter:()=>{r.current?.dom.classList.add("lv_forget_pwd_panel-hover-input")},onMouseLeave:()=>{r.current?.dom.classList.remove("lv_forget_pwd_panel-hover-input")},className:"lv_forget_pwd_panel-input-wrapper",children:[(0,k.jsx)(C.Z,{type:i?"text":"password",ref:r,onBlur:()=>{r.current?.dom.classList.remove("lv_forget_pwd_panel-hover-input")},onChange:n,className:"lv_forget_pwd_panel-input",placeholder:a}),(0,k.jsx)("div",{className:"lv_forget_pwd_panel-input-suffix",children:i?(0,k.jsx)(v.bEM,{onMouseDown:e=>{e.preventDefault()},onClick:()=>{r.current?.focus(),s(!1)}}):(0,k.jsx)(v.lLW,{onMouseDown:e=>{e.preventDefault()},onClick:()=>{r.current?.focus(),s(!0)}})})]}),t.length&&(0,k.jsxs)("div",{className:"lv_forget_pwd_panel-warn-text",children:[" ",t," "]})||null]})},G=e=>{let{toLogIn:t,send:n}=e;const[a,o]=(0,c.useState)(""),[r,i]=(0,c.useState)(""),[s,l]=(0,c.useState)(""),[d,u]=(0,c.useState)(""),[g,m]=(0,c.useState)(!1);(0,c.useEffect)((()=>{n({type:"INIT_RESET_SUCCESS_CB",func:()=>{S.Z.success(w.oc.t("password_reset_successfully")),m(!1)}})}),[]);return(0,k.jsxs)("div",{children:[(0,k.jsx)("div",{className:"lv_forget_pwd_panel-icon-wrapper",children:(0,k.jsx)("img",{src:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/forget-password-icon.png",className:"lv_forget_pwd_panel-icon lv_forget_pwd_panel-icon-reset",alt:"ForgetPasswordPNG"})}),(0,k.jsx)("div",{className:"lv_forget_pwd_panel-title lv_forget_pwd_panel-title-reset",children:w.oc.t("set_new_password")}),(0,k.jsx)(W,{className:"lv_forget_pwd_panel-input-reset",warning:s,onInputChange:e=>(o(e),!b.lI.test(e)&&e?l(w.oc.t("set_password_rule")):l(""),e),value:a,placeholder:w.oc.t("password")}),(0,k.jsx)(W,{className:"lv_forget_pwd_panel-input-reset-pwd",warning:d,onInputChange:e=>(i(e),u(e!==a?w.oc.t("enter_the_same_password"):""),e),value:r,placeholder:w.oc.t("confirm_key")}),(0,k.jsx)(p.Z,{loading:g,onClick:()=>{b.lI.test(a)&&a===r&&(m(!0),n({type:"CONFIRM_PASSWORD",pwd:r}))},type:"primary",className:"lv_forget_pwd_panel-btn lv_forget_pwd_panel-btn-reset",children:w.oc.t("web_confirm")}),(0,k.jsx)(F,{toLogIn:()=>{n("BACK_SIGN_IN"),t()}})]})},Z=e=>{let{toLogIn:t}=e;const n=(0,h.t)(),[a]=(0,_.L)(n),r=a.context.emailSignInRef,[,i]=(0,_.L)(r),s=(0,f.v)(r,(e=>e.context.step))||b.GH.FillInEmail,l=(0,f.v)(r,(e=>e.context.email)),d=(0,f.v)(r,(e=>e.context.resendEmailCodeCountDown)),u=new(o())(location.search),p=u.get("showType")||"email";return(0,c.useEffect)((()=>{switch(p){case"email":i("TO_SEND_RESET_EMAIL_INFO");break;case"password":const e=u.get("email"),n=u.get("code");e&&n&&(i({type:"SAVE_PWD_CODE",code:n,email:e}),i({type:"TO_RESET_PASSWORD",func:()=>{t(),S.Z.warning(w.oc.t("link_lose_efficacy"))}}))}}),[p]),(0,k.jsxs)("div",{className:"lv_forget_pwd_panel",children:[s===b.GH.FillInEmail?(0,k.jsx)(U,{send:i,email:l,toLogIn:t}):null,s===b.GH.ResendEmail?(0,k.jsx)(B,{email:l,send:i,resendEmailCodeCountDown:d,toLogIn:t}):null,s===b.GH.ResetPwd?(0,k.jsx)(G,{email:l,send:i,toLogIn:t}):null]})};var H=n(68793),z=n.n(H),q=n(46188);const Y=e=>{let{onBackToLoginIn:t,isInvitePage:n}=e;const[a,o]=(0,c.useState)(""),r=(0,h.t)(),[s,l]=(0,c.useState)(""),[d,u]=(0,c.useState)(!1),[g,v]=(0,c.useState)(0),[y,E]=(0,c.useState)(0),[x]=(0,_.L)(r),I=x.context.emailSignInRef,[,T]=(0,_.L)(I),N=(0,f.v)(I,(e=>e.context.email)),P=(0,f.v)(I,(e=>e.context.resendEmailCodeCountDown)),A=(0,f.v)(I,(e=>e.matches("signUp.sendingEmailCode"))),j=(0,f.v)(I,(e=>e.matches("signInSuccess"))),L=(0,c.useMemo)((()=>{const e=void 0===P?b.tF:P,t=e>1?"email_sent_resend_email_s":"email_sent_resend_email";return w.oc.t(t,{placeholder:e}).replace(/\d+/,(e=>``))}),[P]);(0,c.useEffect)((()=>{T({type:"INIT_SEND_CODE_ERROR_CB",func:e=>{const t=e.data?.message;i()(t,10)===R.B.SIGN_UP_CODE.SEND_CODE_ERROR_CODE.SENDING_FREQUENTLY?S.Z.error(w.oc.t("many_code_later")):S.Z.error(w.oc.t("fail_sign_try_again")),T({type:"BACK_TO_ENTER_CODE"})}})}),[]);const O=(0,c.useCallback)((e=>{const t=e.data?.message;i()(t,10)===R.B.SIGN_UP_CODE.REGISTER_ERROR_CODE.CODE_WRONG||i()(t,10)===R.B.SIGN_UP_CODE.REGISTER_ERROR_CODE.CODE_EXPIRED?(l(w.oc.t("code_wrong_check")),v(g+1)):S.Z.error(w.oc.t("fail_sign_try_again")),u(!1)}),[g,l,v]);(0,c.useEffect)((()=>{T({type:"INIT_REGISTER_ERROR_CB",func:O})}),[O]),(0,c.useEffect)((()=>{let e=null;return 10===g&&(e=z()((()=>{v(0)}),18e5)),()=>{e&&clearTimeout(e)}}),[g]),(0,c.useEffect)((()=>{let e=null;return 5===y&&(e=z()((()=>{E(0)}),18e5)),()=>{e&&clearTimeout(e)}}),[y]);const D=()=>{""!==a?(T({type:"CONFIRM_REGISTER",code:a}),u(!0)):l(w.oc.t("fill_the_text"))};return(0,k.jsxs)("div",{className:"lv_sign_in_panel-code-detail",children:[(0,k.jsx)("div",{className:"lv_sign_in_panel-code-logo"}),(0,k.jsx)("h2",{className:"lv_sign_in_panel-code-title",children:w.oc.t("confirm_email")}),(0,k.jsx)("span",{className:"lv_sign_in_panel-code-tip",children:w.oc.t("code_sent_to_email",{placeholder:` ${N}`})}),(0,k.jsxs)("div",{className:m()("lv_sign_in_panel-code-input-wrapper",{"lv_sign_in_panel-code-input-wrapper-warn":""!==s}),children:[(0,k.jsx)(C.Z,{className:"lv_sign_in_panel-code-input",value:a,placeholder:w.oc.t("please_enter_code"),onChange:e=>{o(e),l("")},onPressEnter:D}),""!==s?(0,k.jsx)("div",{className:"lv_sign_in_panel-code-warn",children:s}):null]}),(0,k.jsx)(p.Z,{disabled:j||10===g,className:"lv_sign_in_panel-code-confirm-button",loading:!j&&d,type:"primary",onClick:D,children:w.oc.t("web_confirm",{})}),0===P||5===y?(0,k.jsx)("div",{className:m()("lv_sign_in_panel-code-resend-button",{disbaled:A||5===y}),onClick:()=>{A||5===y||(E(y+1),T({type:"REPORT_SIGN_IN_ACTION",action:"resend"}),T({type:"RESEND",code:q.SEND_CODE_TYPE.REGISTER_RETRY}))},children:w.oc.t("resend_the_email")}):(0,k.jsx)("div",{className:"lv_sign_in_panel-code-count-down",dangerouslySetInnerHTML:{__html:L}}),!n&&(0,k.jsx)("div",{className:"lv_sign_in_panel-code-back",onClick:()=>{T({type:"REPORT_SIGN_IN_ACTION",action:"back"}),t?.()},children:w.oc.t("web_back_to_log_in_test",{"log-in":e=>(0,k.jsx)("span",{className:"lv_sign_in_panel-code-back-click",children:e})},"Back to Log in")})]})};var V=n(18267),K=n.n(V),J=n(36648),X=n(80294),Q=n.n(X),$=n(36951),ee=n(4446),te=n(63101),ne=n(77653),ae=n(41723),oe=n.n(ae);function re(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=[];for(let a=e;a<=t;a++)n.push(a);return n}function ie(e){return[-1,31,(0,ne.AR)(e??"")?29:28,31,30,31,30,31,31,30,31,30,31]}const se=-1,le=re(1,12),ce=re(1,31),de=re(1900,(new Date).getFullYear()),ue=(0,ee.C)({id:"birthDayPicker",initial:"verfiying",context:{month:se,date:se,year:se,months:le,dates:ce,years:de},states:{verfiying:{always:[{target:"valid",cond:"isValid"},{target:"invalid"}]},valid:{},invalid:{}},on:{CHANGE_MONTH:{target:"verfiying",actions:["changeMonth"]},CHANGE_DATE:{target:"verfiying",actions:["changeDate"]},CHANGE_YEAR:{target:"verfiying",actions:["changeYear"]},CHANGE_CUSTOM_VERFICATION:{actions:["changeCustomVerfication"]}}},{actions:{changeMonth:(0,$.f0)(((e,t)=>{const{value:n}=t,a=ie(e.year===se?void 0:String(e.year));return{dates:a[n]?re(1,a[n]):ce,month:n,date:e.date<=a[n]?e.date:se,year:2===n&&e.date>a[n]&&!(0,ne.AR)(String(e.year))?se:e.year}})),changeDate:(0,$.f0)({date:(e,t)=>t.value}),changeYear:(0,$.f0)(((e,t)=>{const{value:n}=t,a=ie(n===se?void 0:String(n));return{...e,dates:re(1,a[e.month===se?1:e.month]),date:2===e.month&&e.date>a[e.month]?se:e.date,year:n}})),changeCustomVerfication:(0,$.f0)(((e,t)=>({customVerfication:t.callback})))},guards:{isValid:e=>{var t;let{month:n,date:a,year:o,customVerfication:r}=e;return Q()(t=[n,a,o]).call(t,(e=>e!==se))&&(!r||r(n,a,o))}}});var pe=n(29475),ge=n(39333),me=n.n(ge),he=n(3720),_e=n(39902),fe=n(75172);const ve=e=>{let{label:t,menu:n,value:a,defaultValue:o,selectClassName:r,selectStyle:i,menuClassName:s,menuStyle:l,menuItemClassName:d,menuItemStyle:u,onChange:p}=e;const[g,h]=(0,c.useState)(!1),_=(0,c.useRef)(null);return(0,k.jsx)(he.Z,{droplist:(0,k.jsx)(_e.Z,{className:m()("lv_birthday-select-menu",s),style:l,defaultSelectedKeys:[String(o)],selectedKeys:a!==se?[String(a)]:void 0,autoScrollIntoView:!0,onClickMenuItem:e=>{p(Number(e))},children:K()(n).call(n,(e=>(0,k.jsxs)(_e.Z.Item,{className:d,style:u,children:[(0,k.jsx)(v.axJ,{className:"lv_birthday-select-menu-icon"})," ",e.label]},String(e.value))))}),trigger:"click",getPopupContainer:e=>_.current,onVisibleChange:e=>{h(e)},children:(0,k.jsxs)("div",{ref:_,className:m()("lv_birthday-select",g?"active":"",r),style:i,children:[(0,k.jsx)("div",{className:"lv_birthday-select-label",children:t}),(0,k.jsx)("div",{className:"lv_birthday-select-value",children:a!==se?me()(n).call(n,(e=>e.value===a)).label:""}),(0,k.jsx)(v.C26,{className:"lv_birthday-select-arrow"})]})})},ye=e=>{var t;let{mode:n="custom",customVerfication:a,onChange:o}=e;const[r,i]=(0,fe.eO)(ue),{month:s,date:l,year:d,months:u,dates:p,years:g}=r.context,[h,_]=(0,c.useState)(""),f=(0,c.useRef)(null),v=(0,c.useMemo)((()=>{const e=oe()(h);return[e.month(),e.date(),e.year()]}),[h]),y=K()(t=["","jan","feb","mar","apr","may","jun","jul","aug","sep","nov","oct","dec"]).call(t,(e=>e?w.ZP.t(e):e));return(0,c.useEffect)((()=>{r.matches("valid")&&o?.(oe()(`${d}-${s}-${l}`).format("YYYY-MM-DD"))}),[o,r,d,s,l]),(0,c.useEffect)((()=>{"native"!==n||!h||a&&!a(...v)||o?.(h)}),[n,h,a]),(0,c.useEffect)((()=>{i({type:"CHANGE_CUSTOM_VERFICATION",callback:a})}),[a]),(0,k.jsx)("div",{className:"lv_birthday-picker",children:"custom"===n?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(ve,{label:w.ZP.t("month"),menu:K()(u).call(u,(e=>({label:y[e],value:e}))),value:s,defaultValue:1,selectStyle:{width:"140px"},menuStyle:{width:"180px"},onChange:e=>i({type:"CHANGE_MONTH",value:e})}),(0,k.jsx)(ve,{label:w.ZP.t("day"),menu:K()(p).call(p,(e=>({label:String(e),value:e}))),value:l,defaultValue:1,onChange:e=>i({type:"CHANGE_DATE",value:e})}),(0,k.jsx)(ve,{label:w.ZP.t("year"),menu:K()(g).call(g,(e=>({label:String(e),value:e}))),value:d,defaultValue:1990,onChange:e=>i({type:"CHANGE_YEAR",value:e})})]}):(0,k.jsx)(k.Fragment,{children:(0,k.jsxs)("div",{className:"lv_birthday-input",onClick:()=>{f.current.showPicker()},children:[(0,k.jsx)("span",{className:m()(h?"":"placeholder"),children:h||"Enter your birthday"}),(0,k.jsx)("input",{ref:f,className:"lv_birthday-input",type:"date",onChange:e=>{_(e.target.value?oe()(e.target.value).format("YYYY-MM-DD"):"")}})]})})})},be=()=>{const e=(0,h.t)(),t=(0,f.v)(e,(e=>e.context.userInfo?.region??te.yp.US)),n=(0,f.v)(e,(e=>e.context.emailSignInRef)),[,a]=(0,_.L)(n),[o,r]=(0,c.useState)(""),i=(0,c.useCallback)((e=>{r(e)}),[]),s=(0,c.useCallback)((()=>{var n;const r=function(e,t){var n;return l()(n=[te.yp.KR,te.yp.ID]).call(n,(t=>t===e))?oe()(t).isBefore(oe()().subtract(14,"year")):oe()(t).isBefore(oe()().subtract(13,"year"))}(t,o),[i,s,c]=K()(n=o.split("-")).call(n,(e=>Number(e)));r?(e.send({type:"UPDATE_REPORT_PARAMS",params:{age_year:i,age_month:s,age_date:c}}),a({type:"CONFIRM_BIRTHDAY",value:o,region:t})):u.Z.error({className:"lv_sign_in_panel-birthday-modal",title:w.ZP.t("something_wrong"),content:w.ZP.t("cannot_sign_in"),okText:w.ZP.t("confirm_ok"),onOk:()=>{a("RETURN_SIGN_IN")}}),(new pe.S).report({action:"next",age_year:i,age_month:s,age_date:c})}),[t,o,e,a]);return(0,c.useEffect)((()=>{(new pe.S).report({action:"show"})}),[]),(0,k.jsxs)("div",{className:"lv_sign_in_panel-birthday-detail",children:[(0,k.jsx)("img",{className:"lv_sign_in_panel-birthday-cover",src:"https://lf16-web-buz.capcut.com/obj/capcut-web-buz-us/common/images/birthday-bg.png",alt:w.ZP.t("yout_birth")}),(0,k.jsx)("h2",{className:"lv_sign_in_panel-birthday-title",children:w.ZP.t("yout_birth")}),(0,k.jsx)("p",{className:"lv_sign_in_panel-birthday-subtitle",children:w.ZP.t("information_personal")}),(0,k.jsx)(ye,{mode:(0,J.S7)().isMobile?"native":"custom",onChange:i}),(0,k.jsx)(p.Z,{className:"lv_sign_in_panel-birthday-next",disabled:""===o,type:"primary",onClick:s,children:w.ZP.t("next_step")})]})};var Ce,we=n(52881),ke=n(57860);!function(e){e[e.logIn=0]="logIn",e[e.signUp=1]="signUp",e[e.forgetPwd=2]="forgetPwd"}(Ce||(Ce={}));const Ee=e=>{var t,n,a,r;let{center:s=!0,signType:u=Ce.signUp,onLoginSuccess:p,toSignUpCb:g,toLogInCb:C,toForgetPwdCb:w,onClose:E}=e;const x=(0,h.t)(),[I]=(0,_.L)(x),T=I.context.emailSignInRef,N=I.context.thirdPartSignInRef,S=I.context.teamInviteRef,R=I.context.userInviteRef,[P]=(0,_.L)(R),[j,L]=(0,_.L)(S),[O,D]=(0,_.L)(T),F=(0,f.v)(x,(e=>e.context.isBOE)),U=(0,f.v)(T,(e=>e.context.source)),B=(0,f.v)(T,(e=>e.context.currentWindow)),W=(0,f.v)(x,(e=>e.context?.inviteInfo?.isInvitePage)),G=(0,f.v)(x,(e=>e.context.passport)),H=new(o())(window.location.search),z=Boolean(i()(H.get("from_team_invite")||"0"));(0,c.useEffect)((()=>{const e=H.get("redirect_url");z&&e&&L({type:"REFRESH",newLink:`${location.origin}${decodeURIComponent(e)}`})}),[]),(0,c.useEffect)((()=>{D({type:"INIT_LOGIN_SUCCESS_CB",func:()=>{p?.()}})}),[]),(0,c.useEffect)((()=>{switch(u){case Ce.logIn:D("TO_SIGN_IN");break;case Ce.signUp:D("TO_SIGN_UP");break;case Ce.forgetPwd:D("TO_FORGET_PWD")}}),[u]),(0,c.useEffect)((()=>{!async function(){await G()}()}),[G]);const q=()=>{D({type:"REPORT_SIGN_IN_ACTION",action:"log_in"}),D({type:"SAVE_PASSWORD",password:""}),C?C():D("TO_SIGN_IN")},V=()=>{D({type:"REPORT_SIGN_IN_ACTION",action:"close"}),E?.()};function K(){return(0,k.jsx)(we.M,{service:N,signType:U===y.C.LoginIn?Ce.logIn:Ce.signUp,isBOE:F})}return(0,k.jsxs)(d.Z,{loading:l()(t=["noSign.checking","hasSign"]).call(t,I.matches)||l()(n=["forgetPwd.checkResetCode"]).call(n,O.matches)||l()(a=["unknow"]).call(a,P.matches)||z&&!l()(r=["error","hasInfo"]).call(r,j.matches),size:32,children:[B===b.L4.FILL_IN_BASE_INFO?(0,k.jsxs)("div",{className:m()("lv_sign_in_panel-wrapper",s?"center":""),children:[E&&(0,k.jsx)(v.bMz,{className:"lv_sign_in_panel-close",onClick:V}),U===y.C.LoginIn?(0,k.jsx)(A,{toForgetPwd:()=>{D({type:"SAVE_PASSWORD",password:""}),w?w():D("TO_FORGET_PWD")},toSignUp:()=>{D({type:"REPORT_SIGN_IN_ACTION",action:"sign_up"}),D({type:"SAVE_PASSWORD",password:""}),g?g():D("TO_SIGN_UP")},children:(0,k.jsx)(K,{})}):null,U===y.C.SignUp?(0,k.jsx)(M,{toLogIn:q,children:(0,k.jsx)(K,{})}):null]}):null,B===b.L4.FORGET_PWD_INFO?(0,k.jsx)("div",{className:m()("lv_sign_in_panel-enter-code-wrapper",s?"center":""),children:(0,k.jsx)(Z,{toLogIn:q})}):null,B===b.L4.ENTER_BIRTHDAY?(0,k.jsx)("div",{className:m()("lv_sign_in_panel-enter-code-wrapper",s?"center":""),children:(0,k.jsx)(be,{})}):null,B===b.L4.ENTER_VERIFICATION_CODE?(0,k.jsxs)("div",{className:m()("lv_sign_in_panel-enter-code-wrapper",s?"center":""),children:[E&&(0,k.jsx)(v.bMz,{className:"lv_sign_in_panel-close",onClick:V}),(0,k.jsx)(Y,{isInvitePage:W,onBackToLoginIn:()=>{C?C():D("TO_SIGN_IN")}})]}):null]})},xe=e=>{let{visible:t,signType:n,setVisible:a,onLoginSuccess:o}=e;function r(){a?.(!1)}return(0,k.jsx)(u.Z,{visible:t,modalRender:function(){return(0,k.jsx)(Ee,{signType:n,onLoginSuccess:o,onClose:r})},onCancel:r,unmountOnExit:!0})},Ie=()=>(0,k.jsx)(ke.i,{children:(0,k.jsx)(Ee,{center:!1})}),Te=()=>{const[e,t]=(0,c.useState)(!1);return(0,k.jsxs)(ke.i,{children:[(0,k.jsx)(p.Z,{onClick:()=>{t(!0)},children:"Open Panel"}),(0,k.jsx)(xe,{signType:Ce.logIn,visible:e,setVisible:e=>{t(e)}})]})}},52881:(e,t,n)=>{"use strict";n.d(t,{M:()=>v,E:()=>y});var a=n(18267),o=n.n(a),r=n(51810),i=n(5789),s=n.n(i),l=n(31702),c=n(60419),d=n(17137),u=n(88207),p=n(47181),g=n(46188),m=n(32383),h=n(22599),_=n(34531),f=n(84940);const v=e=>{let{service:t,signType:n=_.ki.logIn,isBOE:a}=e;const i=(0,r.useMemo)((()=>[{label:n===_.ki.logIn?m.ZP.t("log_in_with_google"):m.ZP.t("sign_up_with_google"),name:"google",platformAppId:a?c.oJ.Google:c.cU.Google,shouldExpand:!0,icon:(0,f.jsx)(l.vYD,{className:"lv_third_part_sign_in-icon"})},{label:"tiktok",name:"tiktok",platformAppId:a?c.oJ.TikTok:c.cU.TikTok,shouldExpand:!1,icon:(0,f.jsx)(l.$hL,{className:"lv_third_part_sign_in-icon"})},{label:"facebook",name:"facebook",platformAppId:a?c.oJ.Facebook:c.cU.Facebook,shouldExpand:!1,icon:(0,f.jsx)(l.zJ_,{className:"lv_third_part_sign_in-icon"})}]),[n,a]),[,u]=(0,d.L)(t);return(0,f.jsx)("div",{className:"lv_third_part_sign_in-wrapper",children:o()(i).call(i,(e=>(0,f.jsxs)("div",{className:s()("lv_third_part_sign_in-button",e.shouldExpand?"expand":""),onClick:()=>{return u({type:"AUTH",platform:(t=e).platformAppId,name:t.name,source:n===_.ki.logIn?h.C.LoginIn:h.C.SignUp}),void u({type:"REPORT_SIGN_IN_ACTION",action:t.name});var t},children:[e.icon,e.shouldExpand&&(0,f.jsx)("span",{className:"lv_third_part_sign_in-label",children:e.label})]},e.platformAppId)))})},y=()=>{const e=(0,u.k)(p.nM,{context:{isBOE:!0,passport:async()=>new g.default({isBoe:!0})}});return(0,r.useEffect)((()=>{}),[e.state.value]),(0,f.jsx)("div",{style:{width:"340px"},children:(0,f.jsx)(v,{service:e,signType:_.ki.logIn,isBOE:!0})})}},52616:(e,t,n)=>{"use strict";n.d(t,{h:()=>H});var a=n(51810),o=n(17137),r=n(96074),i=n(23169),s=n(78976),l=n(61736),c=n(31702),d=n(32383),u=n(3201),p=n(42102),g=n(80650),m=n(99068);class h{reporter=(0,m.y)();report(e){this.reporter.report("click_personal_profile",e)}}var _=n(70749),f=n(25346),v=n(65510),y=n(58793),b=n(3916),C=n(34531),w=n(18267),k=n.n(w);const E="c4FPdbCQodRFmaErS0rC";var x=n(84940);const I=e=>{let{onThemeChange:t}=e;const[n,a]=(0,p.Fg)(),o=[{label:d.ZP.t("web_Bright_color_mode",{},"Light mode"),value:y.Q.Light},{label:d.ZP.t("web_dark_mode",{},"Dark mode"),value:y.Q.Dark}];return(0,x.jsx)(s.Z,{triggerProps:{popupAlign:{bottom:[-200,-45]}},position:"bottom",droplist:(0,x.jsx)(l.Z,{className:E,selectedKeys:[n],children:k()(o).call(o,(e=>(0,x.jsx)(l.Z.Item,{onClick:()=>{return n=e.value,t?.(n),void a(n);var n},children:e.label},e.value)))}),selectable:!0,children:(0,x.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,x.jsxs)("div",{className:"user-menu-item",children:[(0,x.jsx)(c.G7B,{className:"user-menu-icon"}),d.ZP.t("web_Pattern",{},"Theme")]}),(0,x.jsx)("div",{className:"user-menu-item",children:(0,x.jsx)(c.cW1,{size:20})})]})})};var T=n(15700),N=n.n(T),S=n(34567),R=n.n(S),P=n(8525),A=n.n(P),j=n(39333),L=n.n(j),O=n(93862),D=n(63427),M=n(9378),F=n(78158);const U="EKVp8HMImaiCeiV6R6Q6",B=e=>{var t,n,o;let{onLanguageChange:r,params:i,supportLocales:u}=e;const p=(0,a.useRef)(new F.uL({countryCode:void 0,getBrowserLang:()=>(0,M.j)()?window.navigator.language:void 0,cookieGetter:N()(t=O.Z.get).call(t,O.Z),cookieSetter:N()(n=O.Z.set).call(n,O.Z)})),g=R()(o=p.current.getSupportLocales()).call(o,(e=>!A()(u)||L()(u).call(u,(t=>t===e.locale))));return(0,x.jsx)(s.Z,{triggerProps:{popupAlign:{bottom:[-200,-45]}},position:"bottom",droplist:(0,x.jsx)(l.Z,{className:U,selectedKeys:[p.current.getCurrentLocale()],children:k()(g).call(g,(e=>(0,x.jsx)(l.Z.Item,{onClick:()=>((e,t)=>{(new h).report({click:t,current_page:i?.currentPage??""}),(new D.n).report({current_page:i?.currentPage,language_before:p.current.getCurrentLocale(),language_after:e,position:"personal_profile"}),r?.(),p.current.setCurrentLocale(e);const n=`${location.pathname}${location.search}`,a=p.current.formatLocalePath({path:n,locale:e});n===a?window.location.reload():window.location.href=a})(e.locale,e.text),children:e.text},e.locale)))}),selectable:!0,children:(0,x.jsxs)("div",{style:{display:"flex",justifyContent:"space-between"},children:[(0,x.jsxs)("div",{className:"user-menu-item",children:[(0,x.jsx)(c.kvV,{className:"user-menu-icon"}),d.ZP.t("web_language",{},"Language")]}),(0,x.jsx)("div",{className:"user-menu-item",children:(0,x.jsx)(c.cW1,{size:20})})]})})};var W=n(50735),G=(n(28202),n(34859));const Z=e=>{let{onClick:t,avatar:n}=e;return(0,b.Z)((()=>{document.getElementById(W.z)?.remove()})),(0,x.jsx)(r.Z,{className:"user-avatar",size:32,onClick:t,children:(0,x.jsx)("img",{alt:"avatar",src:n??G})})};function H(e){let{mode:t="button",showMenu:n=!0,shouldRedirect:m=!1,params:b,enableReporter:w=!1,cookieConsent:k,logOutRedirectUrl:E,language:T,onhandleClick:N,enableThemeSelector:S=!0}=e;const R=(0,u.t)(),[P,A]=(0,o.L)(R),{userInfo:j}=P.context,L=P.matches("noSign"),O=P.matches("hasSign"),D=P.matches({noSign:"signing"}),M=()=>{(new _.H).report({target:"login_profile",position:_.q.HEADER}),m?(0,f.g)(v.l.LOGIN.PATH):A({type:"SIGN_IN"}),N?.()};return(0,g.d)(k,w),(0,a.useEffect)((()=>{b&&A({type:"UPDATE_REPORT_PARAMS",params:b})}),[b]),(0,x.jsxs)(x.Fragment,{children:[L&&(0,x.jsxs)(x.Fragment,{children:["button"===t&&(0,x.jsx)(i.Z,{type:"primary",className:"sign-up-btn",onClick:M,children:d.ZP.t("log_in")}),"avatar"===t&&(0,x.jsx)(r.Z,{className:"user-avatar",size:32,onClick:M,children:(0,x.jsx)("img",{src:G,alt:d.ZP.t("log_in")})}),(0,x.jsx)(C.I1,{signType:C.ki.logIn,visible:D,setVisible:e=>{e||A("EXIT_SIGN_IN")}})]}),O&&(n?(0,x.jsx)(s.Z,{position:"br",trigger:"click",droplist:(0,x.jsxs)(l.Z,{className:"user-menu",selectable:!1,children:[j?.name?(0,x.jsxs)("div",{className:"user-info",children:[(0,x.jsx)("img",{className:"user-info-avatar",src:j?.avatar,alt:"avatar",width:28,height:28}),(0,x.jsx)("span",{className:"user-info-nickname",children:j?.name})]}):null,(0,x.jsxs)(l.Z.ItemGroup,{children:[S&&(0,x.jsx)(l.Z.Item,{style:{marginTop:8,marginBottom:8},children:(0,x.jsx)(I,{onThemeChange:e=>{(new h).report({click:e===y.Q.Dark?"dark_mode":"light_mode",current_page:b?.currentPage??""})}})},"theme"),(0,x.jsx)(l.Z.Item,{style:{marginBottom:8,...S?{}:{marginTop:8}},children:(0,x.jsx)(B,{onLanguageChange:()=>{N?.()},params:b,...T})},"locale"),(0,x.jsx)(l.Z.Item,{onClick:()=>{(new h).report({click:"log_out",current_page:b?.currentPage??""}),p.VO.clear(),A({type:"SIGN_OUT",redirectUrl:E}),N?.()},children:(0,x.jsxs)("div",{className:"user-menu-item",children:[(0,x.jsx)(c.Kz1,{className:"user-menu-icon"}),d.ZP.t("log_out")]})},"logout")]})]}),children:(0,x.jsx)(Z,{avatar:P.context.userInfo?.avatar??"",onClick:()=>{n&&(new h).report({click:"portrait",current_page:b?.currentPage??""})}})}):(0,x.jsx)(Z,{avatar:""}))]})}},50735:(e,t,n)=>{"use strict";n.d(t,{z:()=>r,g:()=>i});n(51810);var a=n(96074),o=(n(28202),n(84940));const r="js-ssr-user-avatar",i=e=>{let{userBaseInfo:t}=e;return(0,o.jsx)(a.Z,{id:r,className:"user-avatar",size:32,children:(0,o.jsx)("img",{fetchPriority:"hight",alt:"avatar",src:t?.avatar})})}},57860:(e,t,n)=>{"use strict";n.d(t,{i:()=>_});var a=n(33278),o=n.n(a),r=n(77656),i=n.n(r),s=n(51810),l=n(88207),c=n(17137),d=n(47181),u=n(42102),p=n(50890),g=n(29097),m=n(84940);const h=e=>{var t;const{options:n,fixedTheme:a,fallback:r}=e,h="undefined"!=typeof window?new(o())(window.location.href).searchParams:void 0,_=(0,s.useRef)(null),f=(0,l.k)(d.Zj,{context:{...n,loginReportParams:{statusEnterFrom:h?.get("enter_from")??"",pageEnterFrom:h?.get("enter_from")??"",currentPage:h?.get("current_page")??"",articleType:h?.get("article_type")??"",articleTitle:h?.get("article_title")??""},noCareerCb:()=>_.current?.()}}),[v]=(0,c.L)(f),y=i()(t=["unknown","fetchingLocation"]).call(t,v.matches),b=n?.shouldFetchLocation&&y,[C,w]=(0,u.SN)(!a);return(0,s.useEffect)((()=>{n?.onContextChange?.(v.context)}),[n,v.context]),(0,s.useEffect)((()=>{n?.shouldShowCareerModal&&null===_.current&&v.children.LvUserCareerMachine&&(_.current=()=>(0,g.BW)(v.children.LvUserCareerMachine))}),[n?.shouldShowCareerModal,v]),b?r??null:(0,m.jsx)(p.Z.Provider,{value:{userService:f,theme:a??C,setTheme:w},children:e.children})},_=e=>{const{renderInServer:t}=e;return t?e.children||null:(0,m.jsx)(h,{...e})}},90845:(e,t,n)=>{"use strict";n.d(t,{AD:()=>a});const a={GOOGLE_SEM:"googleadwords_int",AD_PLATFORM_ID:"ad_platform_id",PII_GOOGLE_SEM:"google sem",PII_DIRECT:"direct"}},58698:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});const a=[{name:"chrome",versionNumber:"80.0.0"},{name:"firefox",versionNumber:"78.0.0"},{name:"safari",versionNumber:"15.2.0"},{name:"edge",versionNumber:"79.0.0"}]},76761:(e,t,n)=>{"use strict";n.d(t,{uv:()=>a,aH:()=>o,Zz:()=>r,ts:()=>i,Ve:()=>s});const a=[{key:"show",value:"show",label:"\u5c55\u793a (show)"},{key:"login",value:"login",label:"\u8df3\u8f6c\u5230\u767b\u5f55 (login)"},{key:"sign_up",value:"sign_up",label:"\u8df3\u8f6c\u5230\u6ce8\u518c (sign_up)"},{key:"enter_edit_page",value:"enter_edit_page",label:"\u8fdb\u5165\u7f16\u8f91\u5668 (enter_edit_page)"},{key:"mac_download",value:"mac_download",label:"\u4e0b\u8f7dMac\u5e94\u7528 (mac_download)"},{key:"windows_download",value:"windows_download",label:"\u4e0b\u8f7dWin\u5e94\u7528 (windows_download)"},{key:"app_store",value:"app_store",label:"\u8df3\u8f6cAppStore (app_store)"},{key:"google_play",value:"google_play",label:"\u8df3\u8f6cGooglePlay (google_play)"},{key:"copy_link",value:"copy_link",label:"\u590d\u5236\u94fe\u63a5 (copy_link)"},{key:"enter_smart_tool_page",value:"enter_smart_tool_page",label:"\u8fdb\u5165\u5c0f\u5de5\u5177\u9875\u9762"}],o="groupTags",r="articleData",i="tagData",s="hotArticle"},68781:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});var a;!function(e){e[e.TASK_CANNOT_BE_CANCELED=200400]="TASK_CANNOT_BE_CANCELED",e[e.TASK__NOT_EXIST_1=200402]="TASK__NOT_EXIST_1",e[e.TASK__NOT_EXIST_2=1e3]="TASK__NOT_EXIST_2"}(a||(a={}));var o,r;!function(e){e[e.ERR_CTEATE_WORKSPACE_OVER_MAX_SIZE=2312]="ERR_CTEATE_WORKSPACE_OVER_MAX_SIZE",e[e.ERR_Hit_Sensitive_Word=2334]="ERR_Hit_Sensitive_Word"}(o||(o={})),function(e){e[e.ERR_UPLOAD_LINK_NOT_EXIST=2341]="ERR_UPLOAD_LINK_NOT_EXIST"}(r||(r={}));const i={EVER_CLOUD:{BELOW_VERSION:40008,INSUFFICIENT_SPACE:20113,INVALID_IDC:1037},WEB_CUSTOME_CODE:{ASSET_TRANSCODE_FAIL:-11001},NO_SIGN_UPLOAD:{ACCESS_TIME_LIMIT:"200201",SOURCE_IS_OVERTIME:"200202",VIDEO_TRANSCODE_FAIL:"4010"},COMMENT:{ErrGetFileInfo:200215,ShareNotExist:200208,ERR_COMMENT_CLOSED:200228,ERR_PUBLISH_COMMENT_FORBIDDEN:1111,ERR_COMMENT_DELETED:200227,ERR_COMMENT_DIRTY:1067,ERR_COMMENT_PUBLISH:1055,ERR_COMMENT_LIST:1062,ERR_COMMENT_REPLY_LIST:1065,ERR_COMMENT_INFO:1061,ERR_COMMENT_UNAUTHORIZED:1060,ERR_COMMENT_DELETE:1059},FILM_CODE:a,COMMERCE:{ALREADY_SUBSCRIBE_USER:"34010104"},SIGN_UP_CODE:{SEND_CODE_ERROR_CODE:{SENDING_FREQUENTLY:1206,EMAIL_ERROR:1044},REGISTER_ERROR_CODE:{CODE_WRONG:1704,CODE_EXPIRED:1703},LOGIN_ERROR_CODE:{PASSWORD_WRONG:1009,USER_NOT_EXITE:1011}},USER_CODE:{NO_LOGIN:1015},CREATE_WORKSPACE_CODE:o,PIPO:{REFRESH_USER_SPACE_FAILURE:"34100001"},WORKSPACE_UPLOAD_LINK_CODE:r}},29858:(e,t,n)=>{"use strict";var a,o,r;n.d(t,{WB:()=>a,gJ:()=>o,dB:()=>r}),function(e){e.DEFAULT="__action_from",e.ENTER_FROM="enter_from",e.FROM_PAGE="from_page",e.FROM_ARTICLE_URL_PATH="from_article_url_path",e.MY_DRAFT="my_draft",e.MY_CLOUD="my_cloud",e.EXPORT_PAGE="export_page",e.DETAIL_PAGE="detail_page",e.TEAM_SPACE="teamspace",e.DRAFT_IDC="draftIdc",e.POSITION_PAGE_HEADER="page_header",e.POSTION="position",e.ARTICLE_TITLE="article_title",e.ARTICLE_TYPE="article_type",e.ARTICLE_PAGE="article_page",e.WORKSPACE="workspaceId",e.SPACE_ID="spaceId",e.QUERY_FROM_PAGE="__from_page",e.PAGE_LANDING="landing_page",e.PAGE_ARTICLE="article_page",e.PAGE_ARTICLE_GROUP="article_group_page",e.PAGE_WORK_SPACE="work_space",e.PAGE_DETAIL="detail_page"}(a||(a={})),function(e){e.CURRENT_PAGE="current_page",e.ARTICLE_TYPE="article_type",e.ARTICLE_TITLE="article_title",e.LANDING_PAGE_BOTTOM="landing_page_bottom",e.ARTICLE_PAGE_BOTTOM="article_page_bottom",e.ARTICLE_PAGE="article_page",e.ARTICLE_GROUP_PAGE="article_group_page",e.LANDING_PAGE="landing_page",e.EDITOR="editor"}(o||(o={})),function(e){e.FROM_ARTICLE_URL_PATH="from_article_url_path",e.FROM_ARTICLE_GROUP_URL_PATH="from_article_group_url_path",e.PAGE_ARTICLE="article_page",e.PAGE_ARTICLE_GROUP="article_group_page"}(r||(r={}))},76442:(e,t,n)=>{"use strict";n.d(t,{hy:()=>a,Sz:()=>o,f$:()=>r});const a="https://capcut.onelink.me/i0GE/CapCutOfficialWebsite",o="https://apps.apple.com/us/app/capcut/id1500855883",r="https://play.google.com/store/apps/details?id=com.lemon.lvoverseas"},81943:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});const a={jianying:{key:"jianying",default:"Jianying"},login:{key:"log_in",default:"Log in"},signUp:{key:"sign_up",default:"Sign up"}}},5928:(e,t,n)=>{"use strict";n.d(t,{Ee:()=>o,Ii:()=>r,R9:()=>i,TR:()=>s});const a=String.fromCharCode(99),o=`by${String.fromCharCode(116)}edan${a}e.net`;var r;!function(e){e.DEFAULT="DEFAULT",e.COMMERCE="COMMERCE"}(r||(r={}));const i={[r.DEFAULT]:{VA:`https://capcut-web-va.${o}`,GCP:`https://capcut-web-gcp.${o}`,SG:""},[r.COMMERCE]:{VA:`https://commerce-api-va.${o}`,GCP:"",SG:`https://commerce-api-sg.${o}`}},s={[r.DEFAULT]:{VA:"https://edit-api-va.capcut.com",GCP:"https://edit-api-gcp.capcut.com",SG:""},[r.COMMERCE]:{VA:"https://commerce-api-va.capcut.com",GCP:"",SG:"https://commerce-api-sg.capcut.com"}};var l;!function(e){e.default="https://www.capcut.com"}(l||(l={}))},98183:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});const a={LIST_VIEW_TYPE:"LIST_VIEW_TYPE",LIST_DISPLAY_TYPE:"LIST_DISPLAY_TYPE",LIST_SORT_BY:"LIST_SORT_BY",LIST_SORT_DIRECTION:"LIST_SORT_DIRECTION",COOKIE_CONSENT_PROMPT_CONFIG:"COOKIE_CONSENT_PROMPT_CONFIG",THIRTPARTY_FEEDBACK:"THIRTPARTY_FEEDBACK",LV_TASK_CENTER:"LV_TASK_CENTER",THIRDPARTY_CLOUD_AUTH:"THIRDPARTY_CLOUD_AUTH",SURVEY_OPEN:"SURVEY_OPEN",CLOUD_STORAGE_PAYMENT_AND_BINDING:"CLOUD_STORAGE_PAYMENT_AND_BINDING",THIRDPARTY_SHARE_AUTH:"THIRDPARTY_SHARE_AUTH",CAPCUT_THEME:"CAPCUT_THEME"}},82320:(e,t,n)=>{"use strict";var a;n.d(t,{B:()=>a}),function(e){e.LandingPage="landing_page",e.DetailPage="detail_page",e.Editor="editor",e.WorkSpace="work_space",e.ArticlePage="article_page",e.ExportPage="export_page",e.TowardsPage="towards_page",e.UGTemplateDetail="towards_page_template_detail"}(a||(a={}))},36436:(e,t,n)=>{"use strict";n.d(t,{h5:()=>r,Cy:()=>i,xj:()=>s,tK:()=>l,tt:()=>c,i$:()=>d});var a=n(86387),o=n.n(a);const r="83639969f5b36a5e31a83487aedcbc9b",i=["US","GB","CA","AU","DE","FR","IT","ES","TR"],s={US:"11202206H2pXg2",GB:"11202205Wsj3E1",CA:"11202203Laxp61",AU:"11202203Laxp61",DE:"11202203Laxp61",FR:"11202203Laxp61",IT:"11202203Laxp61",ES:"11202203Laxp61",TR:"11202203Laxp61"},l="https://f-p-va.isnssdk.com/pp/7136672003776314",c=(e,t)=>e?"11202207M3BvW9":s[t.toUpperCase()]??"11202206H2pXg2",d=e=>{var t;return o()(t=(e||"").split("_")).call(t)?.[2]?.toUpperCase()||""}},63101:(e,t,n)=>{"use strict";var a,o,r;n.d(t,{yp:()=>a,_s:()=>o,mc:()=>i}),function(e){e.US="US",e.BR="BR",e.SG="SG",e.KR="KR",e.ID="ID"}(a||(a={})),function(e){e[e.VA=0]="VA",e[e.GCP=1]="GCP"}(o||(o={})),function(e){e.VA="va",e.GCP="gcp"}(r||(r={}));const i={[o.GCP]:r.GCP,[o.VA]:r.VA}},2195:(e,t,n)=>{"use strict";n.d(t,{vn:()=>a,YP:()=>o,CT:()=>r,m:()=>i,iy:()=>s,Gg:()=>l,E7:()=>c,Cr:()=>d});const a="0";var o;!function(e){e.owner="owner",e.admin="admin",e.collaborator="collaborator"}(o||(o={}));const r={workspace_id:a,name:"Myspace",space_id:undefined,caller_nickname:"",member_limit:1,member_cnt:1,owner:0,owner_name:"",quota:0,usage:0,avatar_color:""},i=["var(--lvv-color-warning-3)","var(--lvv-color-common-yellow-1)","var(--lvv-color-common-red-1)","var(--lvv-color-common-pink-1)","var(--lvv-color-common-purple-1)","var(--lvv-color-common-deep-purple-1)","var(--lvv-color-common-blue-1)","var(--lvv-color-common-green-1)"],s={"var(--lvv-color-warning-3)":{I18nKey:"space_setting_color1",defaultText:""},"var(--lvv-color-common-yellow-1)":{I18nKey:"space_setting_color2",defaultText:""},"var(--lvv-color-common-red-1)":{I18nKey:"space_setting_color3",defaultText:""},"var(--lvv-color-common-pink-1)":{I18nKey:"space_setting_color4",defaultText:""},"var(--lvv-color-common-purple-1)":{I18nKey:"space_setting_color5",defaultText:""},"var(--lvv-color-common-deep-purple-1)":{I18nKey:"space_setting_color6",defaultText:""},"var(--lvv-color-common-blue-1)":{I18nKey:"space_setting_color7",defaultText:""},"var(--lvv-color-common-green-1)":{I18nKey:"space_setting_color8",defaultText:""}},l=5,c={DEFAULT:-1,ERR_INVITATION_LINK_EXPIRED:2300,ERR_INVITATION_LINK_CLOSE:2307,ERR_MEMBER_CNT_LIMIT:2308,ERR_USER_WORKSPACE_OVER_MAX_SIZE:2321,ERR_WORKSPACE_INVITATION_LINK_FORMAT_IS_NOT_CORRECT:2323,ERR_REPEAT_ADD_WORKSPACE:2311,ERR_ONLY_SUPPORT_MOBILE:-403,Err_Workspace_Invitation_Link_Is_Used:2343},d=(c.DEFAULT,c.ERR_INVITATION_LINK_EXPIRED,c.ERR_INVITATION_LINK_CLOSE,c.ERR_MEMBER_CNT_LIMIT,c.ERR_USER_WORKSPACE_OVER_MAX_SIZE,c.ERR_WORKSPACE_INVITATION_LINK_FORMAT_IS_NOT_CORRECT,c.ERR_ONLY_SUPPORT_MOBILE,c.Err_Workspace_Invitation_Link_Is_Used,{ERR_NOT_WORKSPACE_MEMBER:"2316",ERR_NOT_WORKSPACE_PERMISSION:"2317",Err_Workspace_Directional_Invited_Limits:"2335"})},58793:(e,t,n)=>{"use strict";var a;n.d(t,{Q:()=>a}),function(e){e.Light="light",e.Dark="dark"}(a||(a={}))},60419:(e,t,n)=>{"use strict";var a;n.d(t,{lw:()=>a,of:()=>o,ax:()=>r,PB:()=>i,No:()=>s,Yi:()=>l,cU:()=>c,oJ:()=>d,Ic:()=>u,ow:()=>p,jj:()=>g,wg:()=>m,WN:()=>h}),function(e){e.Success="1",e.Fail="0"}(a||(a={}));const o="__THIRD_PART_SIGNIN_STATUS_KEY__",r="__THIRD_PART_SIGNIN_DATA__",i="__THIRD_PART_SIGNIN_ERROR_CODE__",s="__THIRD_PART_SIGNIN_ERROR_MSG__",l="__TIKTOK_AUTH_CSRF_KEY__";var c,d,u;!function(e){e[e.Facebook=1772]="Facebook",e[e.Google=1773]="Google",e[e.TikTok=1776]="TikTok"}(c||(c={})),function(e){e[e.Facebook=200251]="Facebook",e[e.Google=200257]="Google",e[e.TikTok=200256]="TikTok"}(d||(d={})),function(e){e.googleOneTab="googleOneTab"}(u||(u={}));const p="awgqf85tcl10dy2w",g="awexgwrczzlw45x2",m="87571557143-buc0jlq1ncffscght599nhlgl1u977cr.apps.googleusercontent.com",h="1093504901008-cmpv0g4d9k4fd1g6aas7n2bpra6mulu5.apps.googleusercontent.com"},10422:(e,t,n)=>{"use strict";n.d(t,{G:()=>y,g:()=>b});var a,o=n(14398),r=n.n(o),i=n(73863),s=n(90151),l=n.n(s),c=n(77656),d=n.n(c),u=n(36951),p=n(4446),g=n(98183),m=n(75991);!function(e){e[e.Unknown=0]="Unknown",e[e.Accpet=1]="Accpet",e[e.Decline=2]="Decline"}(a||(a={}));const h=34128e6,_={status:a.Unknown,settings:{firstPartyAnalytics:!1,GoogleAnalytics:!1},updatedTime:0};function f(){const e=m.m.getJson(g.g.COOKIE_CONSENT_PROMPT_CONFIG);return e||_}const v=(0,p.C)({id:"cookiesConsentPromptMachine",initial:"unknown",context:{...f()},states:{unknown:{always:[{target:"show",cond:"shouldShowPrompt"},{target:"close",cond:"didUserAccpetOrDecline"}]},show:{entry:["resetConfig"],invoke:{id:"listeningUserAction",src:"listeningUserAction"},on:{ACCPET:{target:"close",actions:["accpetAllCookies","persistConfig"]},DECLINE:{target:"close",actions:["accpetEssentialCookies","persistConfig"]},DONE:{target:"close",actions:["retrievePersistentConfig"]}}},close:{}},on:{TOGGLE_SETTING:{actions:["toggleSetting","persistConfig"]}}},{services:{listeningUserAction:()=>e=>{function t(t){t.storageArea===localStorage&&t.key===g.g.COOKIE_CONSENT_PROMPT_CONFIG&&e("DONE")}return"undefined"!=typeof window&&window.addEventListener("storage",t),()=>{window.removeEventListener("storage",t)}}},actions:{resetConfig:(0,u.f0)((()=>_)),accpetAllCookies:(0,u.f0)((()=>({status:a.Accpet,settings:{firstPartyAnalytics:!0,GoogleAnalytics:!0},updatedTime:l()()}))),accpetEssentialCookies:(0,u.f0)((()=>({status:a.Decline,settings:{firstPartyAnalytics:!1,GoogleAnalytics:!1},updatedTime:l()()}))),toggleSetting:(0,u.f0)(((e,t)=>{let{settings:n}=e;return{status:a.Accpet,settings:{...n,...t.settings},updatedTime:l()()}})),persistConfig:e=>{m.m.setJson(g.g.COOKIE_CONSENT_PROMPT_CONFIG,e)},retrievePersistentConfig:(0,u.f0)(f)},guards:{shouldShowPrompt:e=>{let{status:t,updatedTime:n}=e;const o=t===a.Unknown,r=l()()-n>h;return o||r},didUserAccpetOrDecline:e=>{var t;let{status:n,updatedTime:o}=e;const r=d()(t=[a.Accpet,a.Decline]).call(t,(e=>e===n)),i=l()()-o<=h;return r&&i}}});class y{service=(0,i.kJ)(v).start();onChangeSet=new(r());constructor(){this.service.onChange((e=>{let{settings:t}=e;for(const n of this.onChangeSet)n(t)}))}getSettings(){return this.service.getSnapshot().context.settings}onChange(e){this.onChangeSet.add(e),e(this.getSettings())}}const b=new y},49087:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var a=n(39333),o=n.n(a),r=n(27766),i=n.n(r),s=n(51810);function l(){const[e,t]=(0,s.useState)("");return(0,s.useEffect)((()=>{var e;const{pathname:n}=location,a=o()(e=["tools","resource","create"]).call(e,(e=>-1!==i()(n).call(n,e)));a&&t(a)}),[]),e}},50890:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(51810),o=n(58793);const r=(0,a.createContext)({userService:{},theme:o.Q.Light,setTheme:()=>{}})},3525:(e,t,n)=>{"use strict";n.d(t,{Y:()=>_,g:()=>f});var a=n(15700),o=n.n(a),r=n(10572),i=n(63092),s=n(19717),l=n(16974);const c={[r.d3]:new r.C,[i.xt]:new i.cg,[s.uq]:new s.zS,[l.bH]:new l.y4};var d=n(99068),u=n(17137),p=n(51810),g=n(3201),m=n(10422),h=n(31344);const _=()=>{const e=(0,g.t)(),[t]=(0,u.L)(e),n=(0,d.y)(),a=t.matches("hasSign");return(0,p.useMemo)((()=>{var e;return{userInfo:{name:t.context.userInfo?.name??"",avatar:t.context.userInfo?.avatar??"",quota:t.context.token?.ever_photo_user.quota??0,usage:t.context.token?.ever_photo_user.usage??0,hasLogined:a||!1,uid:t.context.userInfo?.uid,email:t.context.userInfo?.email,idc:t.context.userInfo?.idc,region:t.context.userInfo?.region,createTime:t.context.userInfo?.create_time},cloudInfo:{userSpace:t.context.spaceList,isAutoSubScribe:t.context.cloudStatus.isAutoSubScribe,isFirstSubscribe:t.context.cloudStatus.isFirstSubscribe,isCancelSubscribe:t.context.cloudStatus.isCancelSubscribe},cookieConsent:m.g,shouldStartFirstPartyAnalytics:!1,getABTestConfig:o()(e=n.getABTestConfig).call(e,n),isBOE:t.context.isBOE||!1,riskInfo:{webid:n.isInited&&n?.tea?.getConfig("user")?.web_id},handleReporterProcessing:(e,t)=>{c[e].report(t)}}}),[a,t.context.userInfo,n.isInited,t.context.cloudStatus,t.context.spaceList])},f=e=>{const[t,n]=(0,p.useState)(void 0);return(0,p.useEffect)((()=>{!async function(){if(e&&void 0===t)try{n(await(e?.isSupportExpand?.()))}catch(a){n(!1),h.W.error("GetIsSupportExpand",a,{toGroup:"true"})}}()}),[e,t]),t}},13042:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var a=n(51810),o=n(17137),r=n(3201),i=n(99068);function s(){const e=(0,r.t)(),[t]=(0,o.L)(e),n=t?.matches("hasSign"),[s,l]=(0,a.useState)({isLogin:!1,userID:"",webID:"",countryCode:"",idc:0});return(0,a.useEffect)((()=>{!async function(){if(!(0,i.y)().isInited)return;const{userInfo:e}=t.context,a=(await(0,i.y)().getToken()).web_id,o={isLogin:n,userID:e?.uid??"",webID:a,countryCode:e?.region??"",idc:e?.idc??0};l((e=>({...e,...o})))}()}),[t,n]),s}},32482:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var a=n(27918),o=n.n(a),r=n(9378);const i=()=>new(o())((0,r.j)()?location.search:"")},32172:(e,t,n)=>{"use strict";n.d(t,{A:()=>w});var a=n(77656),o=n.n(a),r=n(51810),i=n(32383),s=n(64781),l=n(90845),c=n(59956),d=n(99068),u=n(76937);class p{reporter=(0,d.y)();report(e){e.title||(e.title=(0,u.IX)(e.url_path)),this.reporter.report("page_view",e)}}var g=n(97404),m=n(3201),h=n(17137),_=n(10422),f=n(87722),v=n(36648),y=n(31344),b=n(85563),C=n(32482);function w(){let{cb:e,isBOE:t=!1,isPageViewReport:n=!0,router:a,appVersion:w=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const k=(0,m.t)(),[E]=(0,h.L)(k),x=(0,C.a)(),{userInfo:I,isCloudSubscribed:T}=E?.context??{},N=x.get(l.AD.AD_PLATFORM_ID),S=E?.matches("hasSign"),R=E?.matches("noSign"),[P,A]=(0,r.useState)(!1);(0,r.useEffect)((()=>{var a;o()(a=["noSign","hasSign","fetchLocationFail"]).call(a,E.matches)&&(P||(A(!0),async function(){const[n,a]=(0,u.C1)(),o=(0,d.y)();if(o.init({log:t,isProd:!t,appVersion:w,web_id:a,userInfo:{user_unique_id:I?I.uid:void 0,user_is_login:Boolean(I?.uid),user_id:I?I.uid:0,region:I?.region,custom:{user_is_cloud_subscribed:T,url:location.href,channel:N===l.AD.GOOGLE_SEM?l.AD.PII_GOOGLE_SEM:l.AD.PII_DIRECT,career:I?.career,register_channel:I?.register_source,user_region:I?.region,lang:i.ZP.language}},useAutoTrack:!0}),!n)try{const e=new s.t({aid:Number(c.y.APP_ID),service:location.host,unionHost:t?`https://boei18n-device.${(0,f.vK)()}`:"https://ttwid-va.byteoversea.com"});await e.checkWebIdFromTea(),o.enableTTWid()}catch(r){y.W.error("useReporter-InvalidTeaSDK-webId",r)}e?.()}().then((()=>{_.g.onChange((e=>{const t=(0,d.y)();if(e.firstPartyAnalytics||(0,v.S7)().isMobile){const e=new b.wO;e.start(),t.configUTParams(e.getParams()),t.start(),n&&(t.reportPredefinePageView({}),(new p).report({url:location.href,url_path:location.pathname,title:document.title}))}e.GoogleAnalytics&&"function"==typeof gtag&&(0,g.T)().start()}))}))))}),[S,R]),(0,r.useEffect)((()=>{if(!R&&!S)return;const e=(0,d.y)(),{custom:t}=e.getConfig().header,n={user_unique_id:I?I.uid:void 0,user_is_login:Boolean(I?.uid),user_id:I?I.uid:0,region:I?.region,custom:{...t,user_is_cloud_subscribed:T,url:location.href,channel:N===l.AD.GOOGLE_SEM?l.AD.PII_GOOGLE_SEM:l.AD.PII_DIRECT,career:I?.career,register_channel:I?.register_source,lang:i.ZP.language}};e.config(n)}),[S,R,I]),(0,r.useEffect)((()=>{try{const e=(0,d.y)(),t=e?.getConfig?.()?.header?.custom,n={custom:{...t,url:location.href}};e.updateUserInfo(n)}catch(e){y.W.error("useReporter-UpdateUserInfo",e)}}),[a])}},80650:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var a=n(51810),o=n(99068);function r(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(0,a.useEffect)((()=>{e?.onChange((e=>{let{firstPartyAnalytics:n}=e;n&&t&&(0,o.y)().start()}))}),[e,t])}},7867:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var a=n(51810);function o(){const[e,t]=(0,a.useState)("");return(0,a.useEffect)((()=>{t(document.title)}),[]),e}},42102:(e,t,n)=>{"use strict";n.d(t,{VO:()=>s,SN:()=>l,Fg:()=>c});var a=n(58793),o=n(98183),r=n(51810),i=n(50890);const s=new class{_theme=a.Q.Light;init(e){const t=this.retrive()?this.retrive()===a.Q.Dark:document.body.getAttribute("lv-theme")===a.Q.Dark;return this.apply(t?a.Q.Dark:a.Q.Light),e(t?a.Q.Dark:a.Q.Light),this.listen(e)}listen(e){const t=window.matchMedia("(prefers-color-scheme: dark)"),n=t=>{this.apply(t.matches?a.Q.Dark:a.Q.Light,!0),e(t.matches?a.Q.Dark:a.Q.Light)};return t.addListener(n),()=>{t.removeListener(n)}}apply(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._theme=e,e===a.Q.Dark?document.body.setAttribute("lv-theme","dark"):document.body.removeAttribute("lv-theme"),t&&this.store()}retrive(){return window.localStorage.getItem(o.g.CAPCUT_THEME)}store(){window.localStorage.setItem(o.g.CAPCUT_THEME,this._theme)}clear(){window.localStorage.removeItem(o.g.CAPCUT_THEME)}};function l(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const[t,n]=(0,r.useState)(a.Q.Light);function o(t){e&&(s.apply(t,!0),n(t))}return(0,r.useEffect)((()=>e?s.init(n):()=>{}),[]),[t,o]}function c(){const e=(0,r.useContext)(i.Z),{theme:t,setTheme:n}=e;return[t,n]}},3201:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var a=n(51810),o=n(50890);function r(){const e=(0,a.useContext)(o.Z),{userService:t}=e;return t}},61379:(e,t,n)=>{"use strict";n.d(t,{E:()=>v});var a=n(17630),o=n.n(a),r=n(39333),i=n.n(r),s=n(90151),l=n.n(s),c=n(52876),d=n.n(c),u=n(34567),p=n.n(u),g=n(36951),m=n(4446),h=n(73863);const _=(0,m.C)({id:"LvAsyncFuncExec",initial:"execing",states:{execing:{invoke:{id:"invokeAsyncFunc",src:"invokeAsyncFunc",onDone:{target:"success",actions:"notifySuccess"},onError:{target:"fail",actions:"notifyError"}}},success:{type:"final"},fail:{type:"final"}}},{services:{invokeAsyncFunc:e=>e.task.func()},actions:{notifySuccess:(0,g.lj)(((e,t)=>({type:"EXEC_SUCCESS",id:e.id,data:t.data}))),notifyError:(0,g.lj)(((e,t)=>({type:"EXEC_FAIL",id:e.id,data:t.data})))}});let f=0;const v=(0,m.C)({id:"LvAsyncFuncExecs",context:{clearTaskInterval:3e3,deleteMorethan:2e3,taskActor:[]},initial:"idle",invoke:{id:"clearTaskInterval",src:"clearTaskInterval"},states:{idle:{},busy:{}},on:{ADD_TASK:{actions:"addExecTask"},EXEC_SUCCESS:{actions:["notifyExecSuccess","markClearActor"]},EXEC_FAIL:{actions:["notifyExecFail","markClearActor"]},CLEAR_DELTE_TASK:{actions:"clearActor"}}},{services:{clearTaskInterval:e=>t=>{const n=o()((()=>{t({type:"CLEAR_DELTE_TASK"})}),e.clearTaskInterval);return()=>{clearInterval(n)}}},actions:{addExecTask:(0,g.f0)({taskActor:(e,t)=>{const n=[...e.taskActor],a=f++;return n.push({id:a,successType:t.successType,failType:t.failType,extInfo:t.extInfo,deleteAt:void 0,actor:(0,h.Cs)(_.withContext({id:a,task:{func:t.exec}}))}),n}}),notifyExecSuccess:(0,g.lj)(((e,t)=>{var n;const a=i()(n=e.taskActor).call(n,(e=>e.id===t.id));if(!a)throw new Error("\u67e5\u65e0\u5bf9\u5e94\u4efb\u52a1");return{type:a.successType,data:t.data,extInfo:a.extInfo}})),notifyExecFail:(0,g.lj)(((e,t)=>{var n;const a=i()(n=e.taskActor).call(n,(e=>e.id===t.id));if(!a)throw new Error("\u67e5\u65e0\u5bf9\u5e94\u4efb\u52a1");return{type:a.failType,data:t.data,extInfo:a.extInfo}})),markClearActor:(0,g.f0)(((e,t)=>{var n,a;const o=i()(n=e.taskActor).call(n,(e=>e.id===t.id));return o&&(o.actor?.stop?.(),o.deleteAt=l()()),{taskActor:d()(a=e.taskActor).call(a)}})),clearActor:(0,g.f0)({taskActor:e=>{var t;const n=l()();return p()(t=e.taskActor).call(t,(t=>!t.deleteAt||n-t.deleteAt{"use strict";n.r(t),n.d(t,{SEND_CODE_TYPE:()=>a,default:()=>c});var a,o=n(2029),r=n(32383),i=n(59956),s=n(65510),l=n(87722);!function(e){e[e.REGISTER=1]="REGISTER",e[e.REGISTER_RETRY=2]="REGISTER_RETRY"}(a||(a={}));class c{sdk;constructor(e){const t=new o.WebInterfaceSdk({...e,aid:Number(i.y.APP_ID),scene:"normal",region:i.y.CHANNEL,isOversea:!0,captchaHost:e.isBoe?`//boei18n-verify.${(0,l.vK)()}/`:"",language:r.ZP.language||i.y.LAN});this.sdk=t}async checkLogin(){return await this.sdk.login.checkLogin({})}async checkEmailHasRegister(e){return await this.sdk.extra.checkEmailRegistered({email:e})}async sendEmailCode(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a.REGISTER;return await this.sdk.login.sendEmailCode({email:e,password:t,extra_params:{type:n}})}async emailRegister(e,t,n,a,o,r){return await this.sdk.login.emailRegister({email:e,password:t,code:n,extra_params:{birthday:a,force_user_region:o,biz_param:{invite_code:r?.invitedCode}},ifLogin:!0})}async emailLogin(e,t){return await this.sdk.login.emailLogin({email:e,password:t})}async sendForgetPwdEmailCode(e,t){return await this.sdk.verify.notLoginSendEmailCode({email:e,extra_params:{type:4,next:t}})}async validateForgetPwdCode(e,t){return await this.sdk.verify.notLoginValidateEmail({email:e,code:t,extra_params:{type:4}})}async resetForgetPwd(e,t){return await this.sdk.forgetPwd.resetPwdByEmailTicket({ticket:e,password:t})}signin(){arguments.length>0&&void 0!==arguments[0]||window.location.href;window.location.href=`${window.location.origin}${s.l.LOGIN.PATH}`}signinWithWindow(e,t){const n=(window.screen.height-30-600)/2,a=(window.screen.width-800)/2,o=`${location.origin}${s.l.PASSPORT_LOGIN.PATH}`,r=`${`${location.origin}${s.l.LOGIN_STATUS_SERVER.PATH}`}${t?.isInvitePage?`?invite_code=${t?.invitedCode}`:""}`;return window.open(`${o}?account_sdk_source=web&aid=${i.y.APP_ID}&next=${encodeURIComponent(r)}&platform_app_id=${e}&use_local_host=1&action=undefined`,"name=login",`fullscreen=1,width=800,height=600,top=${n},left=${a}`)}signinWithCode(e){return this.sdk.login.authLogin(e)}signout(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href;this.sdk.login.logout({next:e})}}},85563:(e,t,n)=>{"use strict";n.d(t,{UI:()=>H,CN:()=>G,vf:()=>Z,VY:()=>w,HJ:()=>g,wO:()=>W,au:()=>y});var a=n(18267),o=n.n(a),r=n(59851),i=n.n(r),s=n(28082),l=n.n(s),c=n(27766),d=n.n(c),u=(n(51810),n(84940));function p(e){var t,n;const a=o()(t=i()(e)).call(t,(t=>({key:t,value:e[t]})));return o()(n=i()(e)).call(n,(t=>{l()(t).call(t,"-")&&"x-default"!==t&&a.push({key:t.substring(0,d()(t).call(t,"-")),value:e[t]})})),a}const g=e=>{var t;let{headContainer:n,title:a,description:r,keywords:i,canonical:s,additionalMetaTags:l,additionalLinkTags:c,hreflang:d}=e;return(0,u.jsxs)(n,{children:[a?(0,u.jsx)("title",{children:a}):null,r?(0,u.jsx)("meta",{name:"description",content:r}):null,i?(0,u.jsx)("meta",{name:"keywords",content:i}):null,s?(0,u.jsx)("link",{rel:"canonical",href:s}):null,l?o()(l).call(l,((e,t)=>(0,u.jsx)("meta",{...e},t))):null,c?o()(c).call(c,((e,t)=>(0,u.jsx)("link",{...e},t))):null,d?o()(t=p(d)).call(t,(e=>{let{key:t,value:n}=e;return(0,u.jsx)("link",{rel:"alternate",hrefLang:t,href:n},t)})):null]})};function m(e){var t;return{"@type":"FAQPage",mainEntity:o()(t=e.mainEntity).call(t,(e=>({"@type":"Question",name:e.questionName,acceptedAnswer:{"@type":"Answer",text:e.acceptedAnswerText}})))}}var h=n(96959),_=n.n(h),f=n(51650),v=n.n(f);function y(e){return{__html:v()(_()({"@context":"https://schema.org",...e}))}}var b,C,w,k=n(49702),E=n.n(k),x=n(52450),I=n(93862),T=n(999),N=n.n(T),S=n(9887),R=n.n(S),P=n(39333),A=n.n(P),j=n(38380),L=n.n(j);!function(e){e.SEO="SEO",e.Soical="Social",e.SEM="SEM",e.Referal="Referal",e.Direct="Direct",e.Product="product"}(w||(w={}));const O={google:[/([^\/]+\.)?google(\.[^\/]+)(\/|$)/i],bing:[/([^\/]+\.)?bing\.com(\/|$)/i],yahoo:[/([^\/]+\.)?yahoo\.com(\/|$)/i],duckduckgo:[/([^\/]+\.)?duckduckgo\.com(\/|$)/i],yandex:[/([^\/]+\.)?yandex\.com(\/|$)/i],naver:[/([^\/]+\.)?naver\.com(\/|$)/i],facebook:[/([^\/]+\.)?facebook\.com(\/|$)/i,/([^\/]+\.)?fb\.com(\/|$)/i,/([^\/]+\.)?fb\.me(\/|$)/i],youtube:[/([^\/]+\.)?youtube\.com(\/|$)/i,/([^\/]+\.)?youtu\.be(\/|$)/i],twitter:[/([^\/]+\.)?twitter\.com(\/|$)/i,/([^\/]+\.)?t\.co(\/|$)/i],tiktok:[/([^\/]+\.)?tiktok\.com(\/|$)/i],instagram:[/([^\/]+\.)?instagram\.com(\/|$)/i,/([^\/]+\.)?instagr\.am(\/|$)/i],linkedin:[/([^\/]+\.)?linkedin\.com(\/|$)/i],survey:[/survey\.isnssdk\.com(\/|$)/i]},D={[w.SEO]:[...O.google,...O.bing,...O.yahoo,...O.duckduckgo,...O.yandex,...O.naver],[w.Soical]:[...O.facebook,...O.youtube,...O.twitter,...O.tiktok,...O.instagram,...O.linkedin],[w.Product]:[...O.survey]},M=new(N())(E()(b=i()(D)).call(b,((e,t)=>{const n=D[t];return R()(n).call(n,(n=>{e.push([n,t])})),e}),[])),F=new(N())(E()(C=i()(O)).call(C,((e,t)=>{const n=O[t];return R()(n).call(n,(n=>{e.push([n,t])})),e}),[]));function U(e){var t;const n=A()(t=[...L()(F).call(F)]).call(t,(t=>t.test(e)));return F.get(n)??e}function B(e){var t;const n=A()(t=[...L()(M).call(M)]).call(t,(t=>t.test(e)));return M.get(n)??w.Referal}class W{cookieName="_ut";parsed=x.parse(location.search);referer=document.referrer?.replace(/http(s)*:\/\//i,"")??"";start(){var e;let t=this._parseUTMParams()??this._parseSEMParams(),n=!1;t||(t=this._parseReferer(),n=!0);const a=l()(e=this.referer).call(e,location.hostname);if(n&&this._hasCookie()&&a)return;const o=void 0!==typeof window&&window._ut||null;"string"==typeof o?.source&&"string"==typeof o?.medium&&(t=o),this._setCookie(t)}getParams(){const e=I.Z.get(this.cookieName)??"";return{...e?x.parse(decodeURIComponent(e)):this._getParamsNotByCookie(),fromCookie:Boolean(e)}}_hasCookie(){return Boolean(I.Z.get(this.cookieName))}_parseUTMParams(){const{utm_source:e,utm_medium:t,utm_campaign:n,utm_content:a,utm_term:o}=this.parsed;return e?{context:"UTM",source:e,medium:t,campaign:n,content:a,term:o}:null}_parseSEMParams(){const{ad_platform_id:e,af_c_id:t,keyword_name:n}=this.parsed;return e&&t?{context:"SEM",source:"string"==typeof e&&l()(e).call(e,"google")?"google":e,medium:w.SEM,campaign:t,term:n}:null}_parseReferer(){return this.referer?{context:"Referer",source:U(this.referer),medium:B(this.referer),campaign:""}:{context:"Referer",source:"enter_url",medium:w.Direct,campaign:""}}_setCookie(e){var t;I.Z.set(this.cookieName,encodeURIComponent(E()(t=i()(e)).call(t,((t,n)=>{const a=e[n];return a?t+=`${0===t.length?"":"&"}${n}=${a}`:t}),"")),{path:"/",sameSite:"Strict"})}_getParamsNotByCookie(){return this._parseUTMParams()??this._parseSEMParams()??this._parseReferer()}}const G=e=>{let{headContainer:t,__html:n}=e;return(0,u.jsx)(t,{children:(0,u.jsx)("script",{type:"application/ld+json",children:n})})},Z=e=>{let{headContainer:t,array:n}=e;return(0,u.jsx)(t,{children:o()(n).call(n,((e,t)=>(0,u.jsx)("script",{type:"application/ld+json",children:y(e).__html},t)))})},H=e=>{let{headContainer:t,mainEntity:n}=e;return(0,u.jsx)(G,{headContainer:t,...y(m({mainEntity:n}))})}},31344:(e,t,n)=>{"use strict";n.d(t,{W:()=>d});var a,o=n(96959),r=n.n(o),i=n(39786),s=n.n(i),l=n(64355),c=n(22169);!function(e){e.info="info",e.warn="warn",e.error="error"}(a||(a={}));const d=new class{_sdk=l.ZP;set sdk(e){this._sdk=e}get sdk(){return this._sdk}init(e){(0,l.ZP)("init",e)}start(){(0,l.ZP)("start")}config(e){this._sdk?.("config",e)}error(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=n?.level?n?.level:a.warn,i=(0,c.isError)(t)?t:new Error(r()(t)),{message:l}=i;i.message=`\u3010Custom-Error\u3011:${e}-${n.toGroup?"MoreDataInExternal":i?.message}`,n.toGroup&&(s()(n,{message:l}),delete n.toGroup),this._sdk?.("captureException",i,{...n,level:o})}dataEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t?.level?t?.level:a.info,o=(0,c.pickBy)(t,c.isNumber);this._sdk?.("sendEvent",{name:`\u3010Custom-Data\u3011: ${e}`,metrics:o,categories:{...t,level:n}})}log(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t?.level?t?.level:a.info;this._sdk?.("sendLog",{content:`\u3010Custom-Log\u3011: ${e}`,level:n,extra:{...t}})}}},47181:(e,t,n)=>{"use strict";n.d(t,{L4:()=>a,tF:()=>p,nM:()=>O,fd:()=>je,GH:()=>o,Jf:()=>L,s9:()=>g,lI:()=>m,Zj:()=>Ze});var a,o,r=n(17630),i=n.n(r),s=n(36951),l=n(4446),c=n(46188),d=n(22599),u=n(65510);!function(e){e[e.FILL_IN_BASE_INFO=0]="FILL_IN_BASE_INFO",e[e.ENTER_BIRTHDAY=1]="ENTER_BIRTHDAY",e[e.ENTER_VERIFICATION_CODE=2]="ENTER_VERIFICATION_CODE",e[e.FORGET_PWD_INFO=3]="FORGET_PWD_INFO"}(a||(a={})),function(e){e[e.FillInEmail=0]="FillInEmail",e[e.ResendEmail=1]="ResendEmail",e[e.ResetPwd=2]="ResetPwd"}(o||(o={}));const p=60,g=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,m=/^[\w ~!@#$%^&*()+,.:;=<>?/|\-[\]\\]{6,20}$/,h=(0,l.C)({id:"emailSignIn",initial:"signUp",context:{isBOE:!1,passport:async()=>null,isNewSignupUser:!1,source:d.C.SignUp,currentWindow:a.FILL_IN_BASE_INFO,email:"",password:"",birthday:"",region:"",code:"",ticket:"",sendCodetype:c.SEND_CODE_TYPE.REGISTER,resendEmailCodeCountDown:p,emailHasRegisterCb:void 0,sendEmailCodeErrorCb:void 0,sendEmailCodeSuccessCb:void 0,verificationCodeErrorCb:void 0,registerErrorCb:void 0,loginErrorCb:void 0,pageEnterFrom:"",currentPage:""},entry:"start",states:{signUp:{entry:"saveSignUpType",initial:"fillInRegisterInfo",states:{fillInRegisterInfo:{entry:(0,s.f0)({currentWindow:a.FILL_IN_BASE_INFO}),on:{NEXT:{target:"checkingEmailHasRegister",actions:["reportSignUpAction"]},SAVE_EMAIL:{actions:"saveEmail"},SAVE_PASSWORD:{actions:"savePassword"}}},checkingEmailHasRegister:{entry:"saveSignInInfo",invoke:{id:"fetchEmailNotRegister",src:"fetchEmailNotRegister",onDone:{target:"enterBirthday"},onError:{target:"fillInRegisterInfo"}}},enterBirthday:{entry:(0,s.f0)({currentWindow:a.ENTER_BIRTHDAY}),on:{CONFIRM_BIRTHDAY:{target:"sendingEmailCode",actions:["updateBirthday"]},RETURN_SIGN_IN:{target:"fillInRegisterInfo",actions:["clearBirthday"]}}},sendingEmailCode:{id:"sendingEmailCode",invoke:{id:"fetchSendEmailCode",src:"fetchSendEmailCode",onDone:{actions:["initCountDown"],target:"enterVerificationCode"},onError:{actions:"notifySendEmailCodeError"}},on:{BACK_TO_ENTER_CODE:"enterVerificationCode",BACK_TO_FILL_REGISTER_INFO:"fillInRegisterInfo"}},enterVerificationCode:{entry:(0,s.f0)({currentWindow:a.ENTER_VERIFICATION_CODE}),initial:"countingDown",states:{countingDown:{invoke:{id:"execCountingDown",src:"execCountingDown"},on:{UPDATE_COUNT_DOWN:{actions:"updateCountDown"},COUNT_DOWN_ZERO:{target:"allowResendVerificationCode"}}},allowResendVerificationCode:{on:{RESEND:{target:"#sendingEmailCode"}}}},on:{CONFIRM_REGISTER:{target:"registering",actions:["reportComfirmAction"]},BACK_TO_LOGIN:{target:"fillInRegisterInfo"}}},registering:{invoke:{id:"fetchEmailCodeRegister",src:"fetchEmailCodeRegister",onDone:{actions:["notifySignSuccess","storeIsNewSignupUser"],target:"#signInSuccess"},onError:{actions:["notifyRegisterError",(0,s.lj)(((e,t)=>({type:"SIGN_IN_FAIL",params:{source:d.C.SignUp,type:"email",errorCode:t?.data?.errro_code,errorMsg:t?.data?.description}})))],target:"enterVerificationCode"}}}}},signIn:{entry:"saveSignInType",initial:"fillInSignInInfo",states:{fillInSignInInfo:{entry:(0,s.f0)({currentWindow:a.FILL_IN_BASE_INFO}),on:{CONFIRM_SIGN:{target:"signing",actions:["reportLoginAction"]}}},signing:{entry:"saveSignInInfo",invoke:{id:"fetchEmailCodeLogin",src:"fetchEmailCodeLogin",onDone:{actions:["notifySignSuccess"],target:"#signInSuccess"},onError:{actions:["notifyLogInError",(0,s.lj)(((e,t)=>({type:"SIGN_IN_FAIL",params:{source:d.C.LoginIn,type:"email",errorCode:t?.data?.error_code,errorMsg:t?.data?.description}})))],target:"fillInSignInInfo"}}}}},signInSuccess:{id:"signInSuccess",type:"final",entry:(0,s.lj)((e=>({type:"SIGN_IN_SUCCESS",params:{source:e.source,type:"email",isLoginNewUser:e.isNewSignupUser?1:0},extra:{isNewSignupUser:e.isNewSignupUser}})))},forgetPwd:{entry:"saveForgetType",initial:"idle",states:{idle:{on:{TO_SEND_RESET_EMAIL_INFO:{target:"fillInResetEmailInfo",actions:["reportFillInResetEmailInfo","initSendEmailInfo"]},TO_RESET_PASSWORD:{actions:"initResetEmailCodeErrorCb",target:"checkResetCode"},SAVE_PWD_CODE:{actions:["initSaveCodeAndEmail"]}}},fillInResetEmailInfo:{on:{SEND_EMAIL:{actions:["reportSendEmail"],target:"checkingResetEmailHasRegister"},SAVE_EMAIL:{actions:["saveEmail"]},BACK_SIGN_IN:{actions:["reportBack"]},INIT_RESET_EMAIL_ERROR_CB:{actions:["initResetEmailErrorCb"]}}},checkingResetEmailHasRegister:{entry:"syncGetParentContext",id:"checkingResetEmailHasRegister",invoke:{id:"checkingResetEmailHasRegister",src:"fetchEmailRegister",onDone:{target:"sendResetEmailCode"},onError:{target:"fillInResetEmailInfo"}}},sendResetEmailCode:{id:"sendResetEmailCode",invoke:{id:"fetchSendResetEmailCode",src:"fetchSendResetEmailCode",onDone:{actions:["intoResendEmailProcess"],target:"resetTimeCounting"},onError:{target:"fillInResetEmailInfo"}}},resetTimeCounting:{initial:"countingDown",entry:"initCountDown",states:{countingDown:{invoke:{id:"execCountingDown",src:"execCountingDown"},on:{UPDATE_COUNT_DOWN:{actions:"updateCountDown"},COUNT_DOWN_ZERO:{target:"allowResendResetEmail"},BACK_SIGN_IN:{actions:["reportBack"]}}},allowResendResetEmail:{on:{RESEND:{actions:["reportResendEmail"],target:"#sendResetEmailCode"},BACK_SIGN_IN:{actions:["reportBack"]}}}},on:{BACK_SIGN_IN:{actions:["reportBack"]}}},checkResetCode:{invoke:{id:"checkResetCode",src:"checkResetCode",onDone:{target:"resetPassword",actions:["intoResetPwdProcess","saveTicket"]},onError:{actions:["cleanEmail","notifyCheckResetCodeError"]}}},resetPassword:{on:{CONFIRM_PASSWORD:{target:"sendConfirmReset"},BACK_SIGN_IN:{actions:["cleanEmail","reportBack"]},INIT_RESET_SUCCESS_CB:{actions:["initResestSuccessCb"]}}},sendConfirmReset:{invoke:{id:"execSendConfirmReset",src:"execSendConfirmReset",onDone:{target:"#signInSuccess",actions:["reportSendConfirmResetPwd","notifyResetSuccessCb"]},onError:{actions:"notifySendConfirmResetError"}}}}}},on:{TO_SIGN_IN:{target:"signIn",actions:["reportLoginPageShow"]},TO_SIGN_UP:{target:"signUp",actions:["reportSignUpPageShow"]},TO_FORGET_PWD:{target:"forgetPwd"},INIT_REGISTER_ERROR_CB:{actions:"initRegisterErrorCb"},INIT_LOGIN_ERROR_CB:{actions:"initLoginErrorCb"},INIT_SEND_CODE_ERROR_CB:{actions:"initSendEmailCodeErrorCb"},INIT_LOGIN_SUCCESS_CB:{actions:"initLoginSuccessCb"},INIT_EMAIL_SEND_PARAMS:{actions:"initEmailSendParams"},REPORT_SIGN_IN_ACTION:{actions:(0,s.lj)(((e,t)=>({type:"SIGN_IN_ACTION",params:{source:e.source,action:t.action}})))},CHANGE_CONTEXT:{actions:["changeContext"]}}},{actions:{saveSignInType:(0,s.f0)({source:e=>d.C.LoginIn}),saveSignUpType:(0,s.f0)({source:e=>d.C.SignUp}),saveForgetType:(0,s.f0)({source:e=>d.C.LoginIn,currentWindow:e=>a.FORGET_PWD_INFO}),saveSignInInfo:(0,s.f0)({email:(e,t)=>t.email,password:(e,t)=>t.password}),saveEmail:(0,s.f0)({email:(e,t)=>t.email}),savePassword:(0,s.f0)({password:(e,t)=>t.password}),saveStep:(0,s.f0)({step:(e,t)=>t.step}),saveTicket:(0,s.f0)({ticket:(e,t)=>t.data.ticket}),storeIsNewSignupUser:(0,s.f0)({isNewSignupUser:(e,t)=>!0}),initSaveCodeAndEmail:(0,s.f0)({code:(e,t)=>t.code,email:(e,t)=>t.email}),initRegisterErrorCb:(0,s.f0)({registerErrorCb:(e,t)=>t.func}),initLoginErrorCb:(0,s.f0)({loginErrorCb:(e,t)=>t.func}),initSendEmailCodeErrorCb:(0,s.f0)({sendEmailCodeErrorCb:(e,t)=>t.func}),initLoginSuccessCb:(0,s.f0)({loginSuccessCb:(e,t)=>t.func}),initResetEmailErrorCb:(0,s.f0)({sendResetEmailErrorCb:(e,t)=>t.func}),initResestSuccessCb:(0,s.f0)({sendResetSuccessCb:(e,t)=>t.func}),initResetEmailCodeErrorCb:(0,s.f0)({validateResetEmailCodeCb:(e,t)=>t.func}),initEmailSendParams:(0,s.f0)({pageEnterFrom:(e,t)=>t.pageEnterFrom,currentPage:(e,t)=>t.currentPage}),initSendEmailInfo:(0,s.f0)({email:e=>"",step:e=>o.FillInEmail}),notifyResetSuccessCb:e=>{e.sendResetSuccessCb?.()},notifySendResetEmailCodeError:()=>{},notifySendEmailCodeError:(e,t)=>{e.sendEmailCodeErrorCb?.({data:new Error(t.data.error_code)})},notifySendEmailCodeSuccess:e=>{e.sendEmailCodeSuccessCb?.()},initCountDown:(0,s.f0)({resendEmailCodeCountDown:()=>p}),notifyVerificationCodeError:e=>{e.verificationCodeErrorCb?.()},notifyLogInError:(e,t)=>{e?.loginErrorCb?.({data:new Error(t.data.error_code)})},notifyRegisterError:(e,t)=>{e?.registerErrorCb?.({data:new Error(t.data.error_code)})},notifySignSuccess:e=>{e?.loginSuccessCb?.()},notifyCheckResetCodeError:e=>{e?.validateResetEmailCodeCb?.()},updateCountDown:(0,s.f0)({resendEmailCodeCountDown:(e,t)=>t.data}),reportLoginPageShow:(0,s.lj)({type:"SIGN_IN_ACTION",params:{source:d.C.LoginIn,action:"show"}}),reportSignUpPageShow:(0,s.lj)({type:"SIGN_IN_ACTION",params:{source:d.C.SignUp,action:"show"}}),changeContext:(0,s.f0)(((e,t)=>({...e,...t.context}))),reportLoginAction:(0,s.lj)({type:"SIGN_IN_ACTION",params:{source:d.C.LoginIn,action:"log_in"}}),reportSignUpAction:(0,s.lj)({type:"SIGN_IN_ACTION",params:{source:d.C.SignUp,action:"sign_up"}}),reportComfirmAction:(0,s.lj)({type:"SIGN_IN_ACTION",params:{source:d.C.SignUp,action:"confirm"}}),reportFillInResetEmailInfo:(0,s.lj)({type:"SIGN_IN_ACTION",params:{source:d.C.LoginIn,action:"forgot_password"}}),reportSendEmail:(0,s.lj)({type:"SIGN_IN_ACTION",params:{source:d.C.LoginIn,action:"confirm_email"}}),reportBack:(0,s.lj)({type:"SIGN_IN_ACTION",params:{source:d.C.LoginIn,action:"back"}}),reportResendEmail:(0,s.lj)({type:"SIGN_IN_ACTION",params:{source:d.C.LoginIn,action:"resend_email"}}),reportSendConfirmResetPwd:(0,s.lj)({type:"SIGN_IN_ACTION",params:{source:d.C.LoginIn,action:"confirm_password"}}),syncGetParentContext:(0,s.lj)({type:"SYNC_CONTEXT"}),updateBirthday:(0,s.f0)({birthday:(e,t)=>t.value,region:(e,t)=>t.region}),clearBirthday:(0,s.f0)({birthday:()=>""}),cleanEmail:(0,s.f0)({email:()=>""}),intoResendEmailProcess:(0,s.f0)({step:e=>o.ResendEmail}),intoResetPwdProcess:(0,s.f0)({step:e=>o.ResetPwd})},services:{fetchEmailNotRegister:async(e,t)=>{let{passport:n,emailHasRegisterCb:a}=e;return(await n())?.checkEmailHasRegister(t.email).then((e=>{if(0===e?.is_registered)return t?.emailNotRegisterCb?.(),!0;throw t?.emailHasRegisterCb?.(),a?.(),new Error}),(e=>{throw t?.onError?.(e),new Error}))},fetchEmailRegister:async(e,t)=>{let{passport:n,emailHasRegisterCb:a}=e;return(await n())?.checkEmailHasRegister(t.email).then((e=>{if(0===e?.is_registered)throw t?.emailNotRegisterCb?.(),new Error;return t?.emailHasRegisterCb?.(),a?.(),!0}),(e=>{throw t?.onError?.(e),new Error}))},fetchSendEmailCode:async(e,t)=>{let{email:n,password:a,passport:o}=e;return(await o())?.sendEmailCode(n,a,t?.code)},fetchEmailCodeRegister:async(e,t)=>{let{email:n,password:a,birthday:o,region:r,passport:i,invitedCode:s}=e;return(await i())?.emailRegister(n,a,t?.code,o,r,{invitedCode:s})},fetchEmailCodeLogin:async e=>{let{email:t,password:n,passport:a}=e;return(await a())?.emailLogin(t,n)},execCountingDown:e=>{let{resendEmailCodeCountDown:t}=e;return e=>{let n=t;if(0===n)return void e("COUNT_DOWN_ZERO");const a=i()((()=>{n--,e({type:"UPDATE_COUNT_DOWN",data:n}),0===n&&(clearInterval(a),e("COUNT_DOWN_ZERO"))}),1e3);return()=>{clearInterval(a)}}},fetchSendResetEmailCode:async e=>{let{email:t,passport:n,sendResetEmailErrorCb:a,pageEnterFrom:o,currentPage:r}=e;const i=`${window.location.origin}${u.l.FORGET_PWD.PATH}?enter_from=${o??""}¤t_page=${r??""}`;return(await n())?.sendForgetPwdEmailCode(t,i).then((e=>e),(e=>{throw a?.(e),new Error}))},checkResetCode:async e=>{let{email:t,code:n,passport:a}=e;return(await a())?.validateForgetPwdCode(t,n||"")},execSendConfirmReset:async(e,t)=>{let{ticket:n,passport:a}=e;return(await a())?.resetForgetPwd(n,t.pwd)}}});var _=n(19963),f=n.n(_),v=n(57701),y=n.n(v),b=n(82007),C=n(2195);const w=(0,l.C)({id:"LvTeamInviteMachine",context:{inviteLink:"",workspaceInfo:{inviter_nickname:"***",name:"***",inviter_avatar:""},errCode:void 0,joinWorkspaceSuccessCb:null,joinWorkspaceErrorCb:null},initial:"unknown",states:{unknown:{always:[{target:"loading",cond:"checkInviteLink"},{target:"error"}]},loading:{invoke:{id:"fetchWorkspaceInfo",src:"fetchWorkspaceInfo",onDone:{target:"hasInfo",actions:["saveWorkspaceInfo"]},onError:{target:"error",actions:["saveErrCode"]}}},hasInfo:{},error:{},join:{invoke:{id:"joinWorkspace",src:"joinWorkspace",onDone:{actions:["saveWorkspaceInfo","handleJoinWorkspaceSuccess"]},onError:{target:"error",actions:["saveErrCode","handleJoinWorkspaceError"]}}}},on:{REFRESH:{actions:"resetInviteLink",target:"unknown"},JOIN_WORKSPACE:{target:"join"}}},{services:{fetchWorkspaceInfo:async e=>{let{inviteLink:t}=e;if(!t)return f().reject();const n=await b.E.getWorkspaceInfoByInvitationLink({invitation_link:t}).then((e=>e?.data)).then((e=>{if("sg1"===e?.workspace_info?.space_idc)throw{data:{ret:C.E7.ERR_ONLY_SUPPORT_MOBILE}};return e}));return n?.workspace_info?n:f().reject()},joinWorkspace:async e=>{let{inviteLink:t}=e;if(!t)return f().reject();const n=await b.E.joinWorkspace({invitation_link:t});return n?.data?.workspace_info?n.data:f().reject()}},actions:{saveWorkspaceInfo:(0,s.f0)(((e,t)=>{const{workspace_info:n}=t.data;return{workspaceInfo:{...n}}})),resetInviteLink:(0,s.f0)(((e,t)=>{let{inviteLink:n}=e;return{inviteLink:t.newLink?t.newLink:n,joinWorkspaceSuccessCb:t.joinWorkspaceSuccessCb?t.joinWorkspaceSuccessCb:null,joinWorkspaceErrorCb:t.joinWorkspaceErrorCb?t.joinWorkspaceErrorCb:null}})),saveErrCode:(0,s.f0)(((e,t)=>t?.data?.data?.ret?{errCode:y()(t?.data?.data?.ret,10)}:{errCode:C.E7.DEFAULT})),handleJoinWorkspaceError:e=>e.joinWorkspaceErrorCb?.(e),handleJoinWorkspaceSuccess:e=>e.joinWorkspaceSuccessCb?.(e)},guards:{checkInviteLink:e=>Boolean(e?.inviteLink)}});var k=n(27918),E=n.n(k),x=n(50511),I=n.n(x),T=n(60419),N=n(99068);var S=n(75991),R=n(31344);const P=new class{reporter=(0,N.y)();reportSignIn(e){this.reporter.report("google_signin_popup",e)}},A=new(I()),j="sign";function L(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new(f())((async(n,a)=>{const o=S.m.getString(T.Yi),r=new(E())(location.search),i=r.get("state"),s=r.get("code"),l=r.get("invite_code");if(o===i&&s)try{await((await e())?.signinWithCode({code:s,platform_app_id:t?T.oJ.TikTok:T.cU.TikTok,extra_params:{biz_param:{invite_code:l}}})),n()}catch(c){R.W.error("LvThirdPartSignIn-dealTikTokSignIn",c),a(c)}else a(new Error(`csrfState=>${o}-state=>${i}-code=>${s}`));S.m.removeItem(T.Yi)}))}const O=(0,l.C)({id:"ThirdPartSignInMachine",initial:"idle",context:{isBOE:!1,passport:async()=>null,name:"",source:d.C.LoginIn},invoke:{id:"listeningStateChange",src:"listeningStateChange"},states:{idle:{},authorizing:{invoke:{id:"thirdPartAuth",src:"thirdPartAuth"}},success:{entry:(0,s.lj)(((e,t)=>{let{name:n,source:a,authType:o,currentPage:r}=e;const{data:i}=t,s={source:a,type:n,isLoginNewUser:i?.isNewSignupUser?1:0};return o===T.Ic.googleOneTab&&(s.pageEnterFrom="google",s.statusEnterFrom="google"),r&&(s.currentPage=r),{type:"SIGN_IN_SUCCESS",params:s,extra:i}}))},fail:{entry:(0,s.lj)((e=>{let{name:t,source:n,errorCode:a,errorMsg:o,authType:r,currentPage:i}=e;const s={source:n,type:t,errorCode:a,errorMsg:o};return r===T.Ic.googleOneTab&&(s.pageEnterFrom="google",s.statusEnterFrom="google"),i&&(s.currentPage=i),{type:"SIGN_IN_FAIL",params:s}}))}},on:{AUTH:{target:"authorizing",internal:!1,actions:["clearStatus","updateName","updateSource","updateAuthType","updateCurrentPage","setCallback"]},AUTH_SUCCESS:{target:"success",actions:["clearStatus"]},AUTH_FAIL:{target:"fail",actions:["clearStatus"]},UPDATE_ERROR:{actions:["updateError"]},REPORT_SIGN_IN_ACTION:{actions:(0,s.lj)(((e,t)=>({type:"SIGN_IN_ACTION",params:{source:e.source,action:t.action}})))},INVOKE_CALLBACK:{actions:["invokeCallback"]},CHANGE_CONTEXT:{actions:["changeContext"]}}},{services:{listeningStateChange:()=>e=>function(e){function t(t){if(t.key!==T.of)return;const n=t.newValue;"string"==typeof n&&e(n)}function n(t){e(t.status,t.extraData)}return window.addEventListener("storage",t),A.on(j,n),()=>{window.removeEventListener("storage",t),A.off(j,n)}}(((t,n)=>{const a=S.m.getString(T.PB)??void 0,o=S.m.getString(T.No)??void 0;if(e({type:"INVOKE_CALLBACK",errorCode:a,errorMsg:o}),t===T.lw.Fail&&e({type:"UPDATE_ERROR",errorCode:a,errorMsg:o}),t===T.lw.Success){const t=S.m.getJson(T.ax);e({type:"AUTH_SUCCESS",data:n||t})}else e({type:"AUTH_FAIL"})})),thirdPartAuth:async(e,t)=>{let{isBOE:n,passport:a,isInvitePage:o,invitedCode:r}=e;const{platform:i,authType:s,currentPage:l}=t,c=await a();s===T.Ic.googleOneTab&&c?await function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2?arguments[2]:void 0;return new(f())((a=>{google?.accounts?.id?.initialize({client_id:t?T.WN:T.wg,cancel_on_tap_outside:!1,callback:async n=>{const o=await(await e()).signinWithCode({platform_app_id:t?T.oJ.Google:T.cU.Google,access_token_secret:n.credential});A.emit(j,{status:T.lw.Success,extraData:{isNewSignupUser:Boolean(o.new_user)}}),a(o)}}),google?.accounts.id?.prompt((e=>{e.isDisplayed()&&P.reportSignIn({action:"show",current_page:n}),e.isSkippedMoment()&&P.reportSignIn({action:"close",current_page:n})}))}))}(a,n,l):i===T.cU.TikTok||n&&i===T.oJ.TikTok?function(e,t){const n=Math.random().toString(36).substring(2),a=(window.screen.height-30-600)/2,o=(window.screen.width-800)/2;S.m.setString(T.Yi,n);const r=`${location.origin}${u.l.TIKTOK_AUTH.PATH}${t?.isInvitePage?`?invite_code=${t?.invitedCode}`:""}`;window.open(`http://open-api.tiktok.com/platform/oauth/connect/?client_key=${e?T.jj:T.ow}&scope=user.info.basic&response_type=code&redirect_uri=${encodeURIComponent(r)}&state=${n}`,"name=login",`fullscreen=1,width=800,height=600,top=${a},left=${o}`)}(n,{isInvitePage:o,invitedCode:r}):i&&c?.signinWithWindow(i,{isInvitePage:o,invitedCode:r})}},actions:{clearStatus:()=>{S.m.removeItem(T.of),S.m.removeItem(T.PB),S.m.removeItem(T.No),S.m.removeItem(T.ax),S.m.removeItem(T.Yi)},updateName:(0,s.f0)({name:(e,t)=>t.name}),updateSource:(0,s.f0)({source:(e,t)=>t.source}),updateAuthType:(0,s.f0)({authType:(e,t)=>t.authType}),updateCurrentPage:(0,s.f0)({currentPage:(e,t)=>t.currentPage}),updateError:(0,s.f0)({errorCode:(e,t)=>t.errorCode,errorMsg:(e,t)=>t.errorMsg}),setCallback:(0,s.f0)({callback:(e,t)=>t.callback}),invokeCallback:(0,s.f0)(((e,t)=>{let{callback:n}=e;const{errorCode:a,errorMsg:o}=t;return n?.({errorCode:a,errorMsg:o}),{callback:void 0}})),changeContext:(0,s.f0)(((e,t)=>({...e,...t.context})))}});var D=n(90151),M=n.n(D),F=n(96959),U=n.n(F),B=n(80294),W=n.n(B),G=n(28082),Z=n.n(G),H=n(59851),z=n.n(H),q=n(39786),Y=n.n(q),V=n(8386),K=n(73863),J=n(49718),X=n(13090),Q=n(1105),$=n(3885),ee=n(34763),te=n(78290),ne=n(22169),ae=n(90845),oe=n(63101),re=n(36436),ie=n(97404);const se={isUserLogin:!1,checkLoginStartTime:0,hasInjectUserInfo:!1};var le=n(46384),ce=n(87322),de=n(85563),ue=n(61379),pe=n(93916);const ge=(0,l.C)({id:"LvUserInviteMachine",context:{isInvitePage:!1,invitedCode:"",inviteDetail:{}},initial:"unknow",states:{unknow:{invoke:{id:"fetchInviteInfo",src:"fetchInviteInfo",onDone:[{target:"ready",actions:["saveInviteDetail"]}],onError:[{target:"error"}]}},ready:{type:"final"},error:{type:"final"}}},{services:{async fetchInviteInfo(e){let{isInvitePage:t,invitedCode:n}=e;if(!n||!t)throw new Error("no invite code");const a=await pe.d.getInviteInfo({invite_code:n});return{inviterName:a.data.inviter_name,invitedSpaceCap:a.data.invited_space_cap,invitedSpaceTime:a.data.invited_space_time,rewardType:a.data.reward_type,inviterImg:a.data.inviter_img}}},actions:{saveInviteDetail:(0,s.f0)({inviteDetail:(e,t)=>{let{inviteDetail:n}=e;return{...n,...t.data}}})}});var me=n(18267),he=n.n(me),_e=n(34567),fe=n.n(_e),ve=n(39333),ye=n.n(ve),be=n(49702),Ce=n.n(be),we=n(9887),ke=n.n(we),Ee=n(14398),xe=n.n(Ee),Ie=n(32383),Te=n(59956),Ne=n(65693),Se=n(58740);const Re={baseURL:"/lv/v1",method:"POST",headers:{loc:Te.y.CHANNEL,lan:Ie.ZP.language||Te.y.LAN,pf:Te.y.APP_PF,appvr:Te.y.VERSION,tdid:"","sign-ver":1,"app-sdk-version":Te.y.APP_SDK_VERSION},params:{}},Pe=J.Z.createAxios(Re);Pe.interceptors.request.use((e=>{const{pf:t,appvr:n,tdid:a}=Re.headers;return e.headers={...e.headers,...(0,Se.O)({url:`${e.baseURL}${e.url}`,pf:t,appvr:n,tdid:a})},e})),Pe.interceptors.response.use((e=>{if(200===e.status){const t=e.data;return"0"===t.ret?f().resolve(t.data):f().reject(e)}return f().reject(e)})),(0,Ne.Z)(Pe,{retries:5,resetTimeout:!0,retryDelay:1e3,isRetry:()=>!0});const Ae={getCareerQuestionnaire:async()=>Pe({url:"/persona/get_questionnaire",method:"POST"}),submitCareerQuestionnaire:async e=>Pe({url:"/persona/submit_questionnaire",method:"POST",data:e})};const je=(0,l.C)({id:"userCareer",initial:"checkingCareer",context:{userInfo:void 0,noCareerCb:()=>null,shouldShowCareerModal:!1,questionList:[],answers:[],questionCount:0,question:{},answer:[],modal:null,alreadyShowModal:!1,chooseProfessionShowReporter:new class{reporter=(0,N.y)();report(e){this.reporter.report("choose_profession_show",e)}},chooseProfessionConfirmReporter:new class{reporter=(0,N.y)();report(e){this.reporter.report("choose_profession_confirm",e)}},reporterParams:{}},states:{checkingCareer:{id:"checkingCareer",invoke:{id:"checkCareer",src:"checkCareer",onDone:"hasCareer",onError:"noCareer"}},noCareer:{initial:"fetching",states:{fetching:{invoke:{id:"fetchQuestionnaire",src:"fetchQuestionnaire",onDone:{target:"answering",actions:["updateQuestionList","updateQuestion"]},onError:{target:"unknownError"}}},answering:{invoke:{id:"showCareerModal",src:"showCareerModal",onDone:{actions:["updateModal","reportQuestionShow","setAlreadyShowModal"],cond:"isNotShowModal"}},on:{CHECK:{actions:["checkAnswer","reportCheck"]},BACK:{actions:["popAnswer","reportBack","updateQuestion","reportQuestionShow"]},NEXT:{actions:["pushAnswer","reportNext","updateQuestion","reportQuestionShow"]},SUBMIT:{target:"submitting",actions:["setOnSubmitError","reportSubmit","reportChooseCareer"]},SKIP:{target:"skipped",actions:["setOnSkipError","reportSkip"]}}},submitting:{invoke:{id:"submit",src:"submit",onDone:{target:"#userCareer.hasCareer",actions:["updateCareer","notifyUserCareer"]},onError:{target:"answering",actions:["handleSubmitError"]}}},unknownError:{},skipped:{invoke:{id:"skip",src:"skip",onDone:{target:"#userCareer.hasCareer",actions:["updateSkippedCareer","notifyUserCareer"]},onError:{actions:["handleSkipError"]}}}}},hasCareer:{type:"final",entry:["stopEmailSignInActor"]}},on:{SET_NO_CAREER_CB:{actions:["setNoCareerCb"]}}},{services:{async checkCareer(e){let{shouldShowCareerModal:t,userInfo:n}=e;if(!n?.career&&t)throw new Error("no career")},async showCareerModal(e){if(!e.alreadyShowModal)return e.noCareerCb?.()},fetchQuestionnaire:async()=>Ae.getCareerQuestionnaire(),async submit(e){var t,n;let{answers:a,question:o,answer:r,modal:i}=e;const s=he()(a).call(a,(e=>{var t;return{key:e.key,title:e.title,answer_list:he()(t=e.answer_list).call(t,(e=>({key:e.key,text:e.text,text_starling:e.text_starling})))}}));return s.push({key:o.key,title:o.title,answer_list:he()(t=fe()(n=o.answer_list).call(n,(e=>ye()(r).call(r,(t=>t===e.key))))).call(t,(e=>({key:e.key,text:e.text,text_starling:e.text_starling})))}),i?.close(),Ae.submitCareerQuestionnaire({question_list:s})},async skip(e){let{answers:t,modal:n}=e;n?.close();const a=he()(t).call(t,(e=>{var t;return{key:e.key,title:e.title,answer_list:he()(t=e.answer_list).call(t,(e=>({key:e.key,text:e.text,text_starling:e.text_starling})))}}));return Ae.submitCareerQuestionnaire({question_list:0===a.length?null:a})}},actions:{setNoCareerCb:(0,s.f0)({noCareerCb:(e,t)=>t.callback}),updateCareer:(0,s.f0)({userInfo:e=>{let{answers:t,userInfo:n}=e;return{...n,career:t?.[0]?.answer_list?.[0]?.text_starling}}}),updateSkippedCareer:(0,s.f0)({userInfo:e=>{let{answers:t,userInfo:n}=e;return{...n,career:t?.[0]?.answer_list?.[0]?.text_starling??"skip"}}}),notifyUserCareer:(0,s.lj)((e=>({type:"UPDATE_USER_CAREER",userInfo:{career:e.userInfo?.career}}))),updateQuestionList:(0,s.f0)({questionList:(e,t)=>t.data.question_list,questionCount:(e,t)=>t.data.question_count}),updateQuestion:(0,s.f0)({question:e=>{let{questionList:t,answers:n}=e;const a=Ce()(n).call(n,((e,t)=>{var n;return ke()(n=t.answer_list).call(n,(t=>{e.add(t.key)})),e}),new(xe()));return ye()(t).call(t,(e=>{const t="or"===e.depend_on?.[0]?.type?e.depend_on?.[0]?.answer_list.some((e=>a.has(e))):e.depend_on?.[0]?.answer_list.every((e=>a.has(e)));return e.position===n.length+1&&(!e.depend_on?.length||t)}))}}),checkAnswer:(0,s.f0)({answer:(e,t)=>{let{question:n,answer:a}=e;const{key:o}=t;return"single"===n.type?ye()(a).call(a,(e=>e===o))?[]:[o]:ye()(a).call(a,(e=>e===o))?fe()(a).call(a,(e=>e!==o)):[...a,o]}}),popAnswer:(0,s.f0)({answers:e=>{let{answers:t}=e;const n=[...t];return n.pop(),n},answer:e=>[]}),pushAnswer:(0,s.f0)({answers:e=>{var t;let{question:n,answers:a,answer:o}=e;return[...a,{...n,answer_list:fe()(t=n.answer_list).call(t,(e=>ye()(o).call(o,(t=>t===e.key))))}]},answer:e=>[]}),updateModal:(0,s.f0)({modal:(e,t)=>t.data}),setAlreadyShowModal:(0,s.f0)({alreadyShowModal:e=>!0}),setOnSubmitError:(0,s.f0)({onSubmitError:(e,t)=>t.onError}),setOnSkipError:(0,s.f0)({onSkipError:(e,t)=>t.onError}),handleSubmitError:e=>{let{onSubmitError:t}=e;t?.()},handleSkipError:e=>{let{onSkipError:t}=e;t?.()},reportChooseCareer:e=>{var t,n;let{question:a,answers:o,answer:r,chooseProfessionConfirmReporter:i,reporterParams:s}=e;i?.report({current_page:s?.currentPage??"",role:ye()(o).call(o,(e=>"role"===e.question_type))?.answer_list?.[0]?.text_starling??"",target:ye()(o).call(o,(e=>"target"===e.question_type))?.answer_list?.map((e=>e.text_starling))?.join(",")??"",preference:he()(t=fe()(n=a.answer_list).call(n,(e=>ye()(r).call(r,(t=>t===e.key))))).call(t,(e=>e.text_starling)).join(",")??"",type:"confirm"})},reportQuestionShow:e=>{let{question:t,chooseProfessionShowReporter:n,reporterParams:a}=e;n?.report({current_page:a?.currentPage??"",popup_type:t.question_type,action:"show"})},reportBack:e=>{const{question:t,chooseProfessionShowReporter:n,reporterParams:a}=e;n?.report({current_page:a?.currentPage??"",popup_type:t.question_type,action:"back"})},reportNext:e=>{const{question:t,chooseProfessionShowReporter:n,reporterParams:a}=e;n?.report({current_page:a?.currentPage??"",popup_type:t.question_type,action:"next"})},reportSubmit:e=>{let{question:t,chooseProfessionShowReporter:n,reporterParams:a}=e;n?.report({current_page:a?.currentPage??"",popup_type:t.question_type,action:"submit"})},reportCheck:(e,t)=>{let{question:n,chooseProfessionShowReporter:a,reporterParams:o}=e;a?.report({current_page:o?.currentPage??"",popup_type:n.question_type,action:t.text})},reportSkip:e=>{let{question:t,answers:n,chooseProfessionShowReporter:a,chooseProfessionConfirmReporter:o,reporterParams:r}=e;a?.report({current_page:r?.currentPage??"",popup_type:t.question_type,action:"skip"}),o?.report({current_page:r?.currentPage??"",role:ye()(n).call(n,(e=>"role"===e.question_type))?.answer_list?.[0]?.text_starling??"skip",target:ye()(n).call(n,(e=>"target"===e.question_type))?.answer_list?.map((e=>e.text_starling))?.join(",")??"skip",preference:"skip",type:"skip"})}},guards:{isNotShowModal:e=>{let{alreadyShowModal:t}=e;return!t}}});var Le,Oe,De,Me,Fe,Ue,Be;!function(e){e[e.video=1]="video",e[e.audio=2]="audio",e[e.image=3]="image"}(Le||(Le={})),function(e){e[e.leaveWorkspace=11005]="leaveWorkspace",e[e.roleChange=11006]="roleChange",e[e.newMember=11007]="newMember"}(Oe||(Oe={})),function(e){e[e.selfLeave=1]="selfLeave",e[e.removedByAdmin=2]="removedByAdmin"}(De||(De={})),function(e){e[e.self_create=0]="self_create",e[e.app_convert=1]="app_convert",e[e.web_convert=2]="web_convert"}(Me||(Me={})),function(e){e[e.package=1]="package",e[e.material=2]="material"}(Fe||(Fe={})),function(e){e[e.open=0]="open",e[e.close=1]="close"}(Ue||(Ue={})),function(e){e[e.syncing=1]="syncing",e[e.success=2]="success",e[e.fail=3]="fail",e[e.notfound=4]="notfound",e[e.nospace=5]="nospace"}(Be||(Be={}));const We=(0,l.C)({id:"userWorkspace",initial:"unknown",context:{asyncFuncExecsRef:void 0,userInfo:void 0,token:void 0,getWorkspaceListSuccess:!1,workspaceList:[],currentWorkspaceInfo:void 0,changeWorkspaceEventCache:"",updateWorkspaceEventCache:"",isPersonal:!0,initWorkspaceCb:()=>{},changeWorkspaceCb:()=>{},initUserAndWorkspaceCb:()=>{},storageChangeWorkspaceCb:()=>{},refreshWorkspaceListCb:()=>{},beforeChangeWorkspaceCb:()=>f().resolve(),updateWorkspaceErrorCb:()=>{}},entry:["initAsyncFuncExecRef","notifyInitUserAndWorkspaceCb"],states:{unknown:{always:[{target:"gettingWorkspaceInfo"}]},gettingWorkspaceInfo:{id:"gettingWorkspaceInfo",invoke:{id:"fetchWorkspaceList",src:"fetchWorkspaceList",onDone:[{target:"hasWorkspaceInfo",actions:["updateWorkspaceList","initCurrentWorkspace","updateIsPersonal","fetchWorkspaceListSuccess","notifyUpdateUserSpace","notifyInitCurrentWorkspace","updateGetWorkspaceListSuccess","notifyInitUserAndWorkspaceCb","notifyRefreshWorkspace","consumeUpdateWorkspaceEventCache","notifyWorkspaceDataChange"],cond:"hasNotInitWorkspaceInfo"},{target:"hasWorkspaceInfo",actions:["updateWorkspaceList","updateCurrentWorkspace","updateIsPersonal","fetchWorkspaceListSuccess","notifyRefreshWorkspace","consumeUpdateWorkspaceEventCache","notifyWorkspaceDataChange"],cond:"hasInitWorkspaceInfo"}],onError:{actions:["fetchWorkspaceListFail"],target:"noWorkspaceInfo"}}},hasWorkspaceInfo:{},noWorkspaceInfo:{}},on:{CHANGE_CONTEXT:{actions:["changeContext"]},REFRESH_WORKSPACE_LIST:{target:"#gettingWorkspaceInfo"},CHANGE_WORKSPACE:{actions:["checkChangeWorkspace"]},CHANGE_WORKSPACE_AFTER_CHECKING:{actions:["changeWorkspace","updateIsPersonal","notifyUpdateUserSpace","notifyChangeWorkspace","notifyWorkspaceDataChange"]},CHANGE_WORKSPACE_ERROR:{actions:["changeWorkspaceError"]},STORAGE_CHANGE_WORKSPACE:{actions:["storageChangeWorkspace"]},UPDATE_WORKSPACE:{actions:["fetchSpecificWorkspaceInfo"]},FETCH_SPECIFIC_WORKSPACE_DONE:{actions:["updateSpecificWorkspaceInfo","notifyWorkspaceDataChange","notifyRefreshWorkspace"]},FETCH_SPECIFIC_WORKSPACE_ERROR:{actions:["updateSpecificWorkspaceInfoError"]},NOTIFY_WORKSPACE_CHANGE:[{target:"#gettingWorkspaceInfo",cond:"notifyLeaveWorkspace"},{actions:["roleChange","notifyWorkspaceDataChange","notifyRefreshWorkspace"],cond:"notifyRoleChange"},{target:"#gettingWorkspaceInfo",cond:"notifyNewMember"}],REFRESH_USER_SPACE_SUCCESS:{actions:["saveTokenWithCurrentWorkspace","notifyWorkspaceDataChange"]}}},{services:{async fetchWorkspaceList(e,t){let n=[];const a=async e=>{const{data:t}=await b.E.getUserWorkSpace({cursor:e,count:100});n=[...n,...t.workspace_infos],t.has_more&&await a(t.next_cursor)};return await a("0"),"REFRESH_WORKSPACE_LIST"===t.type&&t.callback?{workspaceList:n?.map((e=>({...e,dcName:(0,le.y)(e.region)}))),callback:t.callback}:{workspaceList:n?.map((e=>({...e,dcName:(0,le.y)(e.region)})))}}},actions:{changeContext:(0,s.f0)(((e,t)=>({...e,...t.context}))),initAsyncFuncExecRef:(0,s.f0)({asyncFuncExecsRef:()=>(0,K.Cs)(ue.E)}),updateWorkspaceList:(0,s.f0)({workspaceList:(e,t)=>t.data.workspaceList}),checkChangeWorkspace:(0,s.lW)(((e,t)=>{let{data:n}=t;return{type:"ADD_TASK",exec:async()=>(await e.beforeChangeWorkspaceCb(),n),successType:"CHANGE_WORKSPACE_AFTER_CHECKING",failType:"CHANGE_WORKSPACE_ERROR"}}),{to:e=>e.asyncFuncExecsRef}),initCurrentWorkspace:(0,s.f0)((e=>{let t={};if(e.changeWorkspaceEventCache){const n=e.changeWorkspaceEventCache;t=e?.workspaceList?.find((e=>e.workspace_id===n))}return t?.workspace_id||(t=C.CT,t.quota=e.token?.ever_photo_user.quota,t.usage=e.token?.ever_photo_user.usage,t.region=e.userInfo?.region,t.idc=e.userInfo?.idc,t.dcName=e.userInfo?.idc),{currentWorkspaceInfo:t,changeWorkspaceEventCache:""}})),updateIsPersonal:(0,s.f0)((e=>{return{isPersonal:(t=e.currentWorkspaceInfo,!t||t.workspace_id===C.vn)};var t})),fetchWorkspaceListSuccess:(e,t)=>{t.data?.callback?.()},notifyUpdateUserSpace:(0,s.lW)({type:"REFRESH_PERSONAL_SPACE"}),notifyInitCurrentWorkspace:e=>{e.currentWorkspaceInfo&&e.initWorkspaceCb(e.currentWorkspaceInfo)},updateGetWorkspaceListSuccess:(0,s.f0)({getWorkspaceListSuccess:()=>!0}),notifyInitUserAndWorkspaceCb:e=>{e.getWorkspaceListSuccess&&e?.initUserAndWorkspaceCb?.({userInfo:e.userInfo,workspaceList:e.workspaceList})},notifyRefreshWorkspace:e=>{e?.workspaceList&&e?.refreshWorkspaceListCb?.(e.workspaceList,e)},notifyWorkspaceDataChange:(0,s.lj)((e=>({type:"UPDATE_WORKSPACE_DATA_FROM_CHILD",workspaceList:e.workspaceList,currentWorkspaceInfo:e.currentWorkspaceInfo,isPersonal:e.isPersonal}))),consumeUpdateWorkspaceEventCache:V.Le((e=>{const t=[];return e.updateWorkspaceEventCache&&(t.push((0,s.lW)({type:"UPDATE_WORKSPACE",workspaceId:e.updateWorkspaceEventCache})),t.push((0,s.f0)({updateWorkspaceEventCache:""}))),t})),updateCurrentWorkspace:(0,s.f0)((e=>{const t=e.currentWorkspaceInfo?.workspace_id;let n=e?.workspaceList?.find((e=>e.workspace_id===t));return n||(n=C.CT,n.quota=e.token?.ever_photo_user.quota,n.usage=e.token?.ever_photo_user.usage,n.region=e.userInfo?.region,n.idc=e.userInfo?.idc,n.dcName=e.userInfo?.idc),{currentWorkspaceInfo:n}})),changeWorkspace:(0,s.f0)(((e,t)=>{let{data:n,extInfo:a}=t;if(e.currentWorkspaceInfo?.workspace_id===n.workspace_id)return{};let o,r=e?.workspaceList?.find((e=>e.workspace_id===n.workspace_id));return r?o=a?.data?.workspace_enter_from:(r=C.CT,r.quota=e.token?.ever_photo_user.quota,r.usage=e.token?.ever_photo_user.usage,r.region=e.userInfo?.region,r.idc=e.userInfo?.idc,r.dcName=e.userInfo?.idc),{currentWorkspaceInfo:r,workspace_enter_from:o}})),notifyChangeWorkspace:e=>{e.currentWorkspaceInfo&&e.changeWorkspaceCb?.(e.currentWorkspaceInfo,{userInfo:e.userInfo})},changeWorkspaceError(){},storageChangeWorkspace(e,t){let{data:n}=t;e.storageChangeWorkspaceCb(n.workspace_id)},fetchSpecificWorkspaceInfo:(0,s.lW)(((e,t)=>{let{workspaceId:n}=t;return{type:"ADD_TASK",exec:async()=>{const{data:e}=await b.E.mGetWorkspaceInfo({workspace_ids:[n]}),t=e.workspace_infos[0];return{workspace_id:n,workspace_info:{...t,dcName:(0,le.y)(t.region)}}},successType:"FETCH_SPECIFIC_WORKSPACE_DONE",failType:"FETCH_SPECIFIC_WORKSPACE_ERROR"}}),{to:e=>e.asyncFuncExecsRef}),updateSpecificWorkspaceInfo:(0,s.f0)({workspaceList:(e,t)=>{const{data:n}=t,{workspace_info:a}=n;if(a){const t=a,n=e?.workspaceList?.map((e=>e.workspace_id===t.workspace_id?t:e));return n}return e.workspaceList},currentWorkspaceInfo:(e,t)=>{const{data:n}=t,{workspace_info:a}=n;if(a){const t=a;if(t.workspace_id===e.currentWorkspaceInfo?.workspace_id)return t}return e.currentWorkspaceInfo}}),updateSpecificWorkspaceInfoError:(e,t)=>{const{data:n}=t;e.updateWorkspaceErrorCb&&e.updateWorkspaceErrorCb(n.workspace_id)},roleChange:(0,s.f0)({workspaceList:(e,t)=>{const{notifyData:n}=t,{workspace_id:a,new_role:o,uid:r}=n;if(String(r)!==e.userInfo?.uid)return e.workspaceList;const i=e.workspaceList?.map((e=>e.workspace_id===a?{...e,role:o}:e));return i},currentWorkspaceInfo:(e,t)=>{const{notifyData:n}=t,{workspace_id:a,new_role:o,uid:r}=n;return String(r)!==e.userInfo?.uid?e.currentWorkspaceInfo:e.currentWorkspaceInfo?.workspace_id===a?{...e.currentWorkspaceInfo,role:o}:e.currentWorkspaceInfo}}),saveTokenWithCurrentWorkspace:(0,s.f0)({token:(e,t)=>t.data.token,currentWorkspaceInfo:(e,t)=>{if(e.isPersonal&&t.data?.token){const{quota:n,usage:a}=t.data.token.ever_photo_user;return{...e.currentWorkspaceInfo,quota:n,usage:a}}return e.currentWorkspaceInfo}})},guards:{hasInitWorkspaceInfo:e=>Boolean(e.currentWorkspaceInfo&&e.currentWorkspaceInfo.workspace_id),hasNotInitWorkspaceInfo:e=>!(e.currentWorkspaceInfo&&e.currentWorkspaceInfo.workspace_id),notifyLeaveWorkspace:(e,t)=>{const{notifyData:n}=t;return n.method===Oe.leaveWorkspace},notifyRoleChange:(e,t)=>{const{notifyData:n}=t;return n.method===Oe.roleChange},notifyNewMember:(e,t)=>{const{notifyData:n}=t;return n.method===Oe.newMember}}});function Ge(){const e="undefined"!=typeof __locationCountryCode?__locationCountryCode:void 0;return e&&(J.Z.setRegion(e),J.Z.setIDC((0,le.y)(e))),{region:e,idc:e?(0,le.y)(e):void 0}}const Ze=(0,l.C)({id:"userMachine",context:{isBOE:!1,passport:async()=>null,isNewSignupUser:!1,asyncFuncExecsRef:void 0,thirdPartSignInRef:void 0,emailSignInRef:void 0,teamInviteRef:void 0,userInviteRef:void 0,isCloudSubscribed:!1,userInfo:void 0,token:void 0,spaceList:[],cloudStatus:{isAutoSubScribe:!1,isFirstSubscribe:!1,isCancelSubscribe:!1},loginReporter:new d.m,signUpReporter:new class{reporter=(0,N.y)();reportStatus(e){this.reporter.reportBecon("signup_status",e),e.is_login_new_user&&(0,ie.T)().report(this.reporter,"sign_up")}reportPageAction(e){this.reporter.report("signup_page",e)}},logoutReporter:new class{reporter=(0,N.y)();report(){this.reporter.report("click_logout",{})}},fetchLocationReporter:new class{reporter=(0,N.y)();report(e){this.reporter.report("lvrd_fetch_location",e)}},lvrdCheckLoginReporter:new class{reporter=(0,N.y)();options=se;updateOptions(e){this.options=(0,ne.merge)({},this.options,e)}resetOptions(){this.options=se}report(e){const t={get_user_time:this.options.checkLoginStartTime?e.endTime-this.options.checkLoginStartTime:0,has_inject_user_info:this.options.hasInjectUserInfo,is_user_login:this.options.isUserLogin||!1};this.reporter.reportBecon("lvrd_check_login_time",t)}},currentWorkspaceInfo:void 0,isWorkSpaceInited:!1,workspaceList:[],isPersonal:!0,updateWorkspaceEventCache:"",changeWorkspaceEventCache:"",loginSuccessCb:()=>{},userLoginedCb:()=>{},loginFailCb:()=>{},noCareerCb:()=>null,redirectToCb:()=>{},noSignInCb:()=>{},onFetchLocationFail:()=>{},initWorkspaceCb:()=>{},initUserAndWorkspaceCb:()=>{},changeWorkspaceCb:()=>{},refreshWorkspaceListCb:()=>{},beforeChangeWorkspaceCb:()=>f().resolve(),storageChangeWorkspaceCb:()=>{},updateWorkspaceErrorCb:()=>{}},entry:["initPassport","initAsyncFuncExecRef","initChilrenMachine"],initial:"unknown",states:{unknown:{always:[{actions:"getLocationCodeFromHtml",target:"checking",cond:"hasLocationCodeFromHtml"},{target:"fetchingLocation",cond:"shouldFetchLocation"},{target:"checking",actions:["clearUserInfo"]}]},fetchingLocation:{invoke:{id:"fetchLocation",src:"fetchLocation",onDone:{target:"checking",actions:["updateRegion"]},onError:{target:"fetchLocationFail"}}},checking:{invoke:{id:"getAndUpdateUserInfo",src:"getAndUpdateUserInfo",onDone:[{target:"hasSign",actions:["saveUserInfo","updateUserSpaceList","updateIsCloudSubscribed","updateCloudStatus","updateRegion","reportFetchLocationSuccess"],cond:"isValidLocationFromCheckingPharse"},{target:"fetchLocationFail"}],onError:[{target:"noSign",actions:["noSignIn"]}]}},noSign:{initial:"idle",states:{idle:{on:{SIGN_IN:{target:"signing"}}},signing:{on:{EXIT_SIGN_IN:{target:"idle"},SIGN_IN_SUCCESS:{target:"checking",actions:["reportLoginSuccess","updateloginReportParams","storeLoginInfo"]},SIGN_IN_FAIL:{actions:["reportLoginFail","updateloginReportParams","reportLoginFailStatus"]}}},checking:{invoke:{id:"getAndUpdateUserInfo",src:"getAndUpdateUserInfo",meta:{noSign:!0},onDone:[{target:"#hasSign",actions:["saveUserInfo","updateUserSpaceList","updateIsCloudSubscribed","updateCloudStatus","updateRegion","reportFetchLocationSuccess"],cond:"isValidLocationFromCheckingPharse"},{target:"#fetchLocationFail"}],onError:{target:"idle",actions:["clearUserInfo"]}}}}},hasSign:{id:"hasSign",entry:[(0,s.f0)({isWorkSpaceInited:!0}),"notifyUpdateUserSpace","reportLoginSuccessStatus","reportLvrdCheckLoginTime","userLoginedCb","shouldRedirectToWorkspace","stopEmailSignInActor"],invoke:[{id:"LvUserCareerMachine",src:je,data:e=>({...je.context,userInfo:e.userInfo,noCareerCb:e.noCareerCb,shouldShowCareerModal:e.shouldShowCareerModal,reporterParams:{currentPage:e.loginReportParams?.currentPage}})},{id:"LvUserWorkspaceMachine",src:We,data:e=>({...We.context,userInfo:e.userInfo,token:e.token,changeWorkspaceEventCache:e.changeWorkspaceEventCache,updateWorkspaceEventCache:e.updateWorkspaceEventCache,initWorkspaceCb:e.initWorkspaceCb,initUserAndWorkspaceCb:e.initUserAndWorkspaceCb,changeWorkspaceCb:e.changeWorkspaceCb,refreshWorkspaceListCb:e.refreshWorkspaceListCb,storageChangeWorkspaceCb:e.storageChangeWorkspaceCb,beforeChangeWorkspaceCb:e.beforeChangeWorkspaceCb,updateWorkspaceErrorCb:e.updateWorkspaceErrorCb})}],on:{SET_CAREER:{actions:["forwardToUserCareer"]},SET_NO_CAREER_CB:{actions:["forwardToUserCareer"]},UPDATE_USER_CAREER:{actions:["mergeUserInfo"]},SIGN_OUT:{actions:["reportClickLogout","signout"]},REFRESH_USER_SPACE:{actions:["notifyUpdateUserSpace"]},REFRESH_USER_SPACE_SUCCESS:{actions:["forwardToUserWorkspace","updateUserSpaceList","updateIsCloudSubscribed","updateCloudStatus"]},REFRESH_USER_SPACE_FAILURE:{target:"fetchLocationFail"},REFRESH_PERSONAL_SPACE:{actions:["fetchPersonalSpace"]},CHANGE_WORKSPACE:{actions:["forwardToUserWorkspace"]},REFRESH_WORKSPACE_LIST:{actions:["forwardToUserWorkspace"]},STORAGE_CHANGE_WORKSPACE:{actions:["forwardToUserWorkspace"]},UPDATE_WORKSPACE:{actions:["forwardToUserWorkspace"]},NOTIFY_WORKSPACE_CHANGE:{actions:["forwardToUserWorkspace"]},UPDATE_WORKSPACE_DATA_FROM_CHILD:{actions:"updateWorkspaceDataFromChild"}}},fetchLocationFail:{id:"fetchLocationFail",type:"final",entry:["handleFetchLocationFail","reportFetchLocationFail"]}},on:{SIGN_IN_WITH_URL:{actions:["loginingWithUrl"]},SIGN_IN_GOOGLE_ONE_TAB:{actions:["signinGooleOneTab"]},SET_NO_SIGN_IN_CB:{actions:["setNoSignInCb"]},SET_REDIRECT_TO_CB:{actions:["setRedirectToCb"]},SET_NO_CAREER_CB:{actions:["setNoCareerCb"]},UPDATE_REPORT_PARAMS:{actions:["updateloginReportParams"]},SIGN_IN_ACTION:{actions:["updateloginReportParams","reportSignInAction"]},SIGN_IN_SUCCESS:{target:"noSign.checking",actions:["reportLoginSuccess","updateloginReportParams"]},CHANGE_CONTEXT:{actions:V.RN([{cond:"isInitWorkSpaceGuard",actions:["changeContext","changeThirdPartSignInContext","changeEmailSignInContext","changeUserWorkSpaceInContext"]},{actions:["changeContext","changeThirdPartSignInContext","changeEmailSignInContext"]}])},SYNC_CONTEXT:{actions:["changeEmailSignInPartialContext"]},UPDATE_WORKSPACE:{actions:"restoreUpdateWorkspaceEventCache"},CHANGE_WORKSPACE:{actions:["consumeChangeWorkspaceCache"]}}},{services:{async getAndUpdateUserInfo(e,t,n){let{meta:a}=n;e?.lvrdCheckLoginReporter?.updateOptions?.({checkLoginStartTime:M()(),isUserLogin:a?.noSign});const{source:o,medium:r,campaign:i,term:s=""}=(new de.wO).getParams(),l=r===de.VY.SEM,c=l?ae.AD.PII_GOOGLE_SEM:"Direct"===r?ae.AD.PII_DIRECT:r,d=l&&s&&i,u=function(){try{const e="undefined"!=typeof __userInfoStringify?JSON.parse(__userInfoStringify):void 0;return e&&"0"===e.ret?e.data:void 0}catch(e){return}}(),p=u||await Q.B.getAndUpdateUserInfo({sem_info:{is_sem:l,medium:r,register_source:c,register_second_source:o,keywords:d?s:void 0,campaign_id:d?i:void 0}});u||"undefined"==typeof window||(window.__userInfoStringify=U()({ret:"0",data:p,__clientInject:!0})),e?.lvrdCheckLoginReporter?.updateOptions?.({hasInjectUserInfo:Boolean(u)});const g=(0,le.y)(p.location.code);return J.Z.setIDC(g),{user_id_str:p.user_info.user_id,userInfo:p.user_info,region:p.location.code,idc:g}},async fetchLocation(){const[e]=await(0,ce.T)(async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=Ge();if(e&&t.region)return t;const{data:n}=await X.U.getLocation();let a,o;return""!==n.code&&(a=n.code,o=(0,le.y)(a),J.Z.setRegion(a),J.Z.setIDC(o)),{region:a,idc:o}}());return{region:e?.region??oe.yp.US,idc:e?.idc??oe._s.VA}}},actions:{initAsyncFuncExecRef:(0,s.f0)({asyncFuncExecsRef:()=>(0,K.Cs)(ue.E)}),getLocationCodeFromHtml:(0,s.f0)({userInfo:()=>{const{region:e,idc:t}=Ge();return e?{region:e,idc:t}:void 0}}),reportLoginSuccess:(e,t)=>{e.loginSuccessCb(t.data)},userLoginedCb:e=>{e.userLoginedCb(e.userInfo)},reportLoginFail:e=>{e.loginFailCb()},saveUserInfo:(0,s.f0)({userInfo:(e,t)=>{let{userInfo:n}=e;const a=t.data.userInfo;return{...n,uid:a.user_id,name:a.nick_name,avatar:a.avatar_urls.avatar_url_small,career:a.career,register_source:a.register_source,isBindTT:a.is_bind_tt,ttUID:a.tt_user_id,email:a.email,create_time:a.create_time}}}),mergeUserInfo:(0,s.f0)({userInfo:(e,t)=>{let{userInfo:n}=e;return{...n,...t.userInfo}}}),updateUserSpaceList:(0,s.f0)({token:(e,t)=>t.data.token??void 0,spaceList:(e,t)=>t.data.spaceList??[]}),clearUserInfo:(0,s.f0)({userInfo:e=>{let{userInfo:t}=e;return t?{region:t.region,idc:t.idc}:void 0}}),loginingWithUrl:(e,t)=>{let{passport:n}=e;n().then((e=>e?.signin(t?.backURL)))},signinGooleOneTab:(e,t)=>{let{thirdPartSignInRef:n}=e;const{currentPage:a,source:o}=t;n.send({type:"AUTH",authType:T.Ic.googleOneTab,name:"google",currentPage:a,source:o})},signout:(e,t)=>{let{passport:n}=e;n().then((e=>e?.signout(t?.redirectUrl??void 0)))},shouldRedirectToWorkspace(e){e.redirectToCb(e)},noSignIn(e){e.noSignInCb()},reportLoginSuccessStatus:(e,t)=>{var n;let{loginReportParams:a,loginReporter:o,signUpReporter:r}=e,{data:i}=t;if(a&&W()(n=["type","source"]).call(n,(e=>{var t;return W()(t=[void 0,""]).call(t,(t=>a[e]!==t))}))){const e=a.source===d.C.LoginIn;(e?o:r)?.reportStatus({enter_from:a.statusEnterFrom??"",current_page:a.currentPage?a.currentPage:e?"login":"signup",status:"success",article_type:a?.articleType?a.articleType:void 0,article_title:a?.articleTitle?a.articleTitle:void 0,login_type:a.source===d.C.LoginIn?a.type:void 0,signup_type:a.source===d.C.SignUp?a.type:void 0,videocut_id:i.userInfo.user_id,age_year:a.source===d.C.SignUp?a.age_year:void 0,age_month:a.source===d.C.SignUp?a.age_month:void 0,age_date:a.source===d.C.SignUp?a.age_date:void 0,tool_type:a.toolType,is_login_new_user:a.isLoginNewUser,url:location.href,url_path:location.pathname})}},reportLoginFailStatus:(e,t)=>{var n;let{loginReportParams:a,loginReporter:o,signUpReporter:r}=e;if(a&&W()(n=["type","source"]).call(n,(e=>{var t;return W()(t=[void 0,""]).call(t,(t=>a[e]!==t))}))){const e=a.source===d.C.LoginIn;(e?o:r)?.reportStatus({enter_from:a.statusEnterFrom??"",current_page:a.currentPage?a.currentPage:e?"login":"signup",status:"fail",article_type:a?.articleType?a.articleType:void 0,article_title:a?.articleTitle?a.articleTitle:void 0,login_type:a.source===d.C.LoginIn?a.type:void 0,signup_type:a.source===d.C.SignUp?a.type:void 0,error_code:t.params.errorCode,error_msg:t.params.errorMsg,tool_type:a.toolType,url:location.href,url_path:location.pathname})}},reportSignInAction:e=>{var t;let{loginReportParams:n,loginReporter:a,signUpReporter:o}=e;if(n&&W()(t=["action","source"]).call(t,(e=>{var t;return W()(t=[void 0,""]).call(t,(t=>n[e]!==t))}))){const e=n.source===d.C.LoginIn;(e?a:o)?.reportPageAction({enter_from:n.pageEnterFrom,current_page:n.currentPage?n.currentPage:e?"login":"signup",action:n.action,article_type:n?.articleType?n.articleType:void 0,article_title:n?.articleTitle?n.articleTitle:void 0,tool_type:n.toolType,url:location.href,url_path:location.pathname})}},reportClickLogout:e=>{let{logoutReporter:t}=e;t?.report()},updateloginReportParams:(0,s.f0)({loginReportParams:(e,t)=>{let{loginReportParams:n}=e;return{...n,...t.params}}}),updateIsCloudSubscribed:(0,s.f0)({isCloudSubscribed:(e,t)=>t.data.isCloudSubscribed}),notifyUpdateUserSpace:(0,s.lW)({type:"REFRESH_PERSONAL_SPACE"}),updateCloudStatus:(0,s.f0)({cloudStatus:(e,t)=>({isAutoSubScribe:t.data.isAutoSubscribe,isCancelSubscribe:t.data.isCancelSubscribe,isFirstSubscribe:t.data.isFirstSubscribe})}),fetchPersonalSpace:(0,s.lW)(((e,t)=>({type:"ADD_TASK",exec:async()=>{const{onlyRefreshToken:n}=t;let a;if(!n){var o;const e=await $.Y.getPipoUserRegionByCache();[a]=Z()(o=z()(re.xj)).call(o,e)?await(0,ce.T)(ee.k.getSpaceList()):[null]}return{token:{ever_photo_user:{...await te.p.getEverPhotoUserSpace(),web_user_id:e?.userInfo?.uid}},isCloudSubscribed:[]?.length>0,spaceList:a?.space_list||[],isAutoSubscribe:a?.is_auto_subscribe||!1,isFirstSubscribe:a?.is_first_subscribe||!1,isCancelSubscribe:a?.is_cancel_subscribe||!1}},successType:"REFRESH_USER_SPACE_SUCCESS",failType:"REFRESH_USER_SPACE_FAILURE"})),{to:e=>e.asyncFuncExecsRef}),initPassport:(0,s.f0)({passport:e=>{let{isBOE:t}=e,a=null;return async()=>{if(a)return a;const e=(await Promise.resolve().then(n.bind(n,46188))).default;return a=new e({isBoe:t})}}}),updateRegion:(0,s.f0)({userInfo:(e,t)=>{let{userInfo:n}=e;const a=n??{};return Y()(a,{region:t.data.region,idc:t.data.idc})}}),setNoSignInCb:(0,s.f0)({noSignInCb:(e,t)=>t.callback}),setRedirectToCb:(0,s.f0)({redirectToCb:(e,t)=>t.callback}),initChilrenMachine:(0,s.f0)({teamInviteRef:e=>{let{isBOE:t}=e;return(0,K.Cs)(w.withContext({inviteLink:"",workspaceInfo:{inviter_nickname:"***",name:"***",inviter_avatar:""},errCode:void 0,joinWorkspaceSuccessCb:null,joinWorkspaceErrorCb:null,isBOE:Boolean(t)}))},userInviteRef:e=>{let{inviteInfo:t}=e;return(0,K.Cs)(ge.withContext({isInvitePage:t?.isInvitePage,invitedCode:t?.invitedCode}))},thirdPartSignInRef:e=>{let{isBOE:t,passport:n,inviteInfo:a}=e;return(0,K.Cs)(O.withContext({isBOE:Boolean(t),isInvitePage:a?.isInvitePage,invitedCode:a?.invitedCode,passport:n,name:"",source:d.C.LoginIn}))},emailSignInRef:e=>{let{isBOE:t,passport:n,inviteInfo:a}=e;return(0,K.Cs)(h.withContext({...h.context,isBOE:Boolean(t),isInvitePage:a?.isInvitePage,invitedCode:a?.invitedCode,passport:n,email:"",password:"",birthday:"",ticket:""}))}}),setNoCareerCb:(0,s.f0)({noCareerCb:(e,t)=>t.callback}),stopEmailSignInActor:V.sT((e=>{let{emailSignInRef:t}=e;return t})),changeContext:(0,s.f0)(((e,t)=>(0,ne.merge)({},e,t.context))),changeThirdPartSignInContext:(0,s.lW)(((e,t)=>({type:"CHANGE_CONTEXT",context:t.context})),{to:e=>{let{thirdPartSignInRef:t}=e;return t}}),changeEmailSignInContext:(0,s.lW)(((e,t)=>({type:"CHANGE_CONTEXT",context:t.context})),{to:e=>{let{emailSignInRef:t}=e;return t}}),changeUserWorkSpaceInContext:(0,s.lW)(((e,t)=>({type:"CHANGE_CONTEXT",context:t.context})),{to:"LvUserWorkspaceMachine"}),changeEmailSignInPartialContext:(0,s.lW)((e=>{let{loginReportParams:t}=e;return{type:"CHANGE_CONTEXT",context:{pageEnterFrom:t?.pageEnterFrom,currentPage:t?.currentPage}}}),{to:e=>{let{emailSignInRef:t}=e;return t}}),handleFetchLocationFail:e=>{let{onFetchLocationFail:t}=e;return t()},reportFetchLocationSuccess:e=>{let{fetchLocationReporter:t}=e;t?.report({status:"success"})},reportFetchLocationFail:e=>{let{fetchLocationReporter:t}=e;t?.report({status:"fail"})},consumeChangeWorkspaceCache:(0,s.f0)(((e,t)=>{const{data:n}=t;return n.workspace_id?{changeWorkspaceEventCache:n.workspace_id}:{}})),restoreUpdateWorkspaceEventCache:(0,s.f0)({updateWorkspaceEventCache:(e,t)=>t.workspaceId}),clearUpdateWorkspaceEventCache:(0,s.f0)({updateWorkspaceEventCache:""}),storeLoginInfo:(0,s.f0)(((e,t)=>"SIGN_IN_SUCCESS"!==t.type?e:{isNewSignupUser:t.extra?.isNewSignupUser||!1})),reportLvrdCheckLoginTime:e=>{e?.lvrdCheckLoginReporter?.report({endTime:M()()}),e?.lvrdCheckLoginReporter?.resetOptions?.()},updateWorkspaceDataFromChild:(0,s.f0)(((e,t)=>{const n={};return t.workspaceList&&(n.workspaceList=t.workspaceList),t.currentWorkspaceInfo&&(n.currentWorkspaceInfo=t.currentWorkspaceInfo),"boolean"==typeof t.isPersonal&&(n.isPersonal=t.isPersonal),n})),forwardToUserCareer:(0,s.Tn)("LvUserCareerMachine"),forwardToUserWorkspace:(0,s.Tn)("LvUserWorkspaceMachine")},guards:{isInitWorkSpaceGuard:e=>Boolean(e.isWorkSpaceInited),shouldFetchLocation:e=>{let{userInfo:t,shouldFetchLocation:n}=e;return Boolean(n)&&void 0===t},hasLocationCodeFromHtml:()=>"undefined"!=typeof __locationCountryCode,isValidLocationFromCheckingPharse:(e,t)=>{let{data:n}=t;return Boolean(n.region)}}});class He extends x.EventEmitter{_userService;init(e){this._userService=e.userService}getRegion(){return this._userService.getSnapshot()?.context.userInfo?.region}getUserInfo(){return this._userService.getSnapshot()?.context.userInfo}getUserCloudInfo(){const{context:e}=this._userService.getSnapshot();return{spaceList:e?.spaceList,isAutoSubScribe:e?.cloudStatus?.isAutoSubScribe,isFirstSubscribe:e?.cloudStatus?.isFirstSubscribe,isCancelSubscribe:e?.cloudStatus?.isCancelSubscribe,quota:e.token?.ever_photo_user.quota??0,usage:e.token?.ever_photo_user.usage??0}}changeUserRegion(e){this._userService.send({type:"CHANGE_CONTEXT",context:{userInfo:{region:e,idc:(0,le.y)(e)}}})}listenCareerStatus(e){const t=t=>{const n=this._getUserCareer(t);e(n)};return this._userService.onTransition(t),()=>{this._userService.off(t)}}listenLoginStatus(e){const t=t=>{const n=this._userHasSign(t);e({hasSign:n})};return this._userService.onTransition(t),()=>{this._userService.off(t)}}listenUserWholeStatus(e){const t=t=>{const n=this._userHasSign(t),a=this._getUserCareer(t);e({hasSign:n,noSign:t.matches("noSign"),careerStatus:a.status,career:a.career,initFailed:t.matches("fetchLocationFail")})};return this._userService.onTransition(t),()=>{this._userService.off(t)}}_userHasSign(e){return e.context?.userInfo&&Object.prototype.hasOwnProperty.call(e.context.userInfo,"uid")&&Object.prototype.hasOwnProperty.call(e.context.userInfo,"region")}_getUserCareer(e){if(e.matches("noSign"))return{status:void 0,career:""};const t=e?.children.LvUserCareerMachine?.getSnapshot();return t?.matches("hasCareer")&&e.context?.userInfo?.career?{status:!0,career:e.context.userInfo.career}:t?.matches("noCareer")?{status:!1,career:e.context.userInfo?.career||""}:{status:void 0,career:""}}}new He},87322:(e,t,n)=>{"use strict";n.d(t,{T:()=>s,_:()=>l});var a=n(19963),o=n.n(a),r=n(68793),i=n.n(r);async function s(e){try{return[await e,null]}catch(t){return[null,t]}}function l(e){return new(o())((t=>{i()((()=>{t()}),e)}))}},36648:(e,t,n)=>{"use strict";n.d(t,{Cm:()=>i,S7:()=>s,ZJ:()=>l});var a=n(77656),o=n.n(a),r=n(14028);function i(e,t){const{name:n,versionNumber:a}=(0,r.Z)(t);return o()(e).call(e,(e=>e.name===n&&Math.round(Number(e.versionNumber.split(".")[0]))<=Math.round(a)))}const s=e=>{const t=navigator.userAgent.toLowerCase(),{mobile:n,name:a,version:o,os:i=""}=(0,r.Z)(e),s=navigator.maxTouchPoints||NaN,l=navigator.platform||"";return{env:n?"mobile":"pc",name:a,version:o,isMobile:Boolean(n),isWechat:/micromessenger/.test(t),isQQ:/qq/.test(t),isWeibo:/weibo/.test(t),isLv:/lv/.test(t),isAndroid:/android/.test(t),isIos:/ios/.test(i)||/iPad|iPhone|iPod/i.test(t)||/MacIntel/i.test(l)&&s>1,isMac:/macintosh|mac os x/i.test(i.toLowerCase())||/os x /i.test(i.toLowerCase()),isWin:/windows|win32|win64/i.test(i.toLowerCase())}},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const{mobile:t,os:n=""}=(0,r.Z)(e);return{env:t?"mobile":"pc",isMobile:Boolean(t),isAndroid:/android/.test(e),isIos:/ios/.test(n)||/iPad|iPhone|iPod|Mac OS X/i.test(e||n),isMac:/macintosh|mac os x/i.test(n.toLowerCase())||/os x /i.test(n.toLowerCase()),isWin:/windows|win32|win64/i.test(n.toLowerCase())}}},42949:(e,t,n)=>{"use strict";n.d(t,{G:()=>w});var a=n(18267),o=n.n(a),r=n(34567),i=n.n(r),s=n(52876),l=n.n(s),c=n(27766),d=n.n(c),u=n(9887),p=n.n(u),g=n(59851),m=n.n(g),h=n(8525),_=n.n(h),f=n(22169),v=n(32383),y=n(78158);function b(e){var t,n;const a={};return o()(t=i()(n=l()(e).call(e,d()(e).call(e,"?")+1).split("&")).call(n,(e=>Boolean(e)))).call(t,(e=>{const[t,n]=e.split("=");a[t]=n})),a}function C(e){var t;const n=[];return p()(t=m()(e)).call(t,(t=>{const a=e[t];_()(a)?p()(a).call(a,(function(e){n.push(`${t}=${e}`)})):n.push(`${t}=${a}`)})),n.join("&")}function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;const a=b("undefined"!=typeof window?window.location.search:""),o=(0,f.omit)({...a,...t},n||[]),r=C(o),i=y.uL.formatRoutePath({path:e,locale:v.ZP.language||"en"});return`${i}${r?"?":""}${r}`}},77653:(e,t,n)=>{"use strict";n.d(t,{wQ:()=>v,AR:()=>y,LR:()=>b});var a=n(18267),o=n.n(a),r=n(41723),i=n.n(r),s=n(28449),l=n.n(s),c=n(17851),d=n.n(c),u=n(79611),p=n.n(u),g=n(32383);i().extend(l()),i().extend(d()),i().extend(p());const m=31536e6,h=6e4,_=36e5,f=864e5;function v(e){const t=i()(),n=i()(e),a=t.valueOf()-e;if(a>=m)return n.format("YYYY-MM-DD");if(a>=f&&a=_&&a<=f){const e=Math.floor(a/1e3/60/60);return g.oc.t(e>1?"space_time_hours":"space_time_hour",{placeholder1:e},e>1?"{placeholder1} hours ago":"{placeholder1} hour ago")}if(a>=h&&a<=_){const e=Math.floor(a/1e3/60);return g.oc.t(e>1?"space_time_minutes":"space_time_minute",{placeholder1:e},e>1?"{placeholder1} mins ago":"{placeholder1} min ago")}return a<=h?g.oc.t("notification_time_justnow",{},"just now"):n.format("YYYY-MM-DD")}function y(e){return i()(e).isLeapYear()}function b(e){var t;if(!e)return"";const n=o()(t=["jan","feb","mar","apr","may","jun","jul","aug","sep","nov","oct","dec"]).call(t,(e=>e?g.oc.t(e):e)),a=i()(e),r=a.date(),s=a.month(),l=a.year();return`${n[s]} ${r}, ${l}`}},76220:(e,t,n)=>{"use strict";n.d(t,{LU:()=>c,aj:()=>d,ys:()=>u,_7:()=>p});var a=n(52876),o=n.n(a),r=n(27766),i=n.n(r),s=n(28082),l=n.n(s);function c(e){var t;const n=Math.floor(e/60);return`${n>=10?n:`0${n}`}:${o()(t=`00${Math.floor(e%60)}`).call(t,-2)}`}function d(e){return e/1024}function u(e,t){let n="";var a;n={b:e=>`${e.toFixed(2)}B`,kb:e=>`${(e/1024).toFixed(2)}KB`,mb:e=>`${(e/1048576).toFixed(2)}MB`,gb:e=>`${(e/1073741824).toFixed(2)}GB`,tb:e=>`${(e/1099511627776).toFixed(2)}TB`}[t||((a=e)<102.4?"b":a<104857.6?"kb":a<1073741824?"mb":a<1099511627776?"gb":"tb")](e);const o=`${n}`,r=i()(o).call(o,".");return"00"==o.substr(r+1,2)?o.substring(0,r)+o.substr(r+3,2):n}function p(e){var t;const n=e.split(".").pop();return l()(t=["mp3","wav","wma","ogg","aac","flac","ape","m4a"]).call(t,n??"")}},71098:(e,t,n)=>{"use strict";n.d(t,{e:()=>o});var a=n(32383);const o=e=>"string"==typeof e?a.oc.t(e,{}):a.oc.t(e.key,{},e.default)},9378:(e,t,n)=>{"use strict";function a(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}n.d(t,{j:()=>a})},75991:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var a=n(96959),o=n.n(a),r=n(31344);class i{static getString(e){return localStorage.getItem(e)}static setString(e,t){return localStorage.setItem(e,t)}static getJsonWithEmptyJson(e){const t="undefined"!=typeof localStorage&&localStorage.getItem(e)||"{}";let n;try{n=JSON.parse(t)}catch(a){r.W.error("LocalStorage-getJsonWithEmptyJson()",a)}return n}static getJson(e){const t="undefined"!=typeof localStorage&&localStorage.getItem(e);let n;if(t){try{n=JSON.parse(t)}catch(a){r.W.error("localStorage-parse(origin)",a)}return n}}static setJson(e,t){localStorage.setItem(e,o()(t))}static getNestedJsonItem(e,t){return this.getJsonWithEmptyJson(e)[t]??{}}static setNestedJsonItem(e,t,n){const a=this.getJsonWithEmptyJson(e),o=a[t]??{},r={...a,[t]:{...o,...n}};this.setJson(e,r)}static removeItem(e){localStorage.removeItem(e)}}},25346:(e,t,n)=>{"use strict";function a(e){location.href=`${location.origin}${e}${location.search}`}n.d(t,{g:()=>a})},46384:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var a=n(39333),o=n.n(a),r=n(63101),i=n(31344);function s(e){var t;return e||i.W.error("getIDC-notRegion",new Error(`getIDC-notRegion-${e}`)),o()(t=[r.yp.US,r.yp.BR]).call(t,(t=>t===e))?r._s.VA:r._s.GCP}},87722:(e,t,n)=>{"use strict";n.d(t,{vK:()=>a});n(90151),n(52876);function a(){const e=String.fromCharCode(99);return`by${String.fromCharCode(116)}edan${e}e.net`}},75889:(e,t,n)=>{"use strict";function a(){const e=window.localStorage.getItem("CAPCUT_THEME");"dark"===e?(document.body.style.backgroundColor="#121217",document.body.setAttribute("lv-theme","dark")):"light"===e&&(document.body.style.backgroundColor="#fff",document.body.removeAttribute("lv-theme"))}n.d(t,{g:()=>a})},76497:(e,t,n)=>{"use strict";n.d(t,{yg:()=>a,pM:()=>o});const a=e=>/^[a-zA-Z0-9.!#$%&\u2019*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$/.test(e);function o(e){return"lenovo"===e.utm_source&&"referral"===e.utm_medium}},99068:(e,t,n)=>{"use strict";n.d(t,{y:()=>P});var a=n(14398),o=n.n(a),r=n(19963),i=n.n(r),s=n(39786),l=n.n(s),c=n(9887),d=n.n(c),u=n(28082),p=n.n(u),g=n(32567);var m,h,_=n(96959),f=n.n(_),v=n(64355),y=n(22169);(h=m||(m={})).info="info",h.warn="warn",h.error="error";const b=new class{constructor(){this._sdk=v.ZP}set sdk(e){this._sdk=e}get sdk(){return this._sdk}init(e){(0,v.ZP)("init",e)}start(){(0,v.ZP)("start")}config(e){var t;null===(t=this._sdk)||void 0===t||t.call(this,"config",e)}error(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};var a;const o=(null==n?void 0:n.level)?null==n?void 0:n.level:m.warn,r=(0,y.isError)(t)?t:new Error(f()(t)),i=r.message;r.message=`\u3010Custom-Error\u3011:${e}-${n.toGroup?"MoreDataInExternal":null==r?void 0:r.message}`,n.toGroup&&(l()(n,{message:i}),delete n.toGroup),null===(a=this._sdk)||void 0===a||a.call(this,"captureException",r,l()(l()({},n),{level:o}))}dataEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n;const a=(null==t?void 0:t.level)?null==t?void 0:t.level:m.info,o=(0,y.pickBy)(t,y.isNumber);null===(n=this._sdk)||void 0===n||n.call(this,"sendEvent",{name:`\u3010Custom-Data\u3011: ${e}`,metrics:o,categories:l()(l()({},t),{level:a})})}log(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var n;const a=(null==t?void 0:t.level)?null==t?void 0:t.level:m.info;null===(n=this._sdk)||void 0===n||n.call(this,"sendLog",{content:`\u3010Custom-Log\u3011: ${e}`,level:a,extra:l()({},t)})}};var C=n(59956);const w=["click"],k="report";var E=n(76937),x=n(47839);const I={user_id:"",user_is_login:!1,user_is_subscribed:!1,user_is_new:!1},T={isProd:!0,log:!1,userInfo:I},N="TEA_STORE_TOKEN_RET",S="TEA_STORE_WEB_INFO";class R{isInited=!1;isStarted=!1;_web_id;_tea=g.Z;_reportWraperHandler;_startCallbacks=new(o());options;cachedEvents=new(o());cachedBeaconEvents=new(o());cachedPredefinePageView=void 0;isSetWebId=!1;currentPageHidden=!1;firstPageInfo={isSessionStartPage:!1,isFirstVisitPage:!1};awaitInitQueue=[];constructor(){"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement&&document.addEventListener("visibilitychange",(()=>{this.currentPageHidden=document.hidden}))}get tea(){return this._tea}awaitForInit(){if(this.isInited)return;return new(i())((e=>{this.awaitInitQueue.push(e)}))}async init(e){var t;this.options=l()({},T,e),this.firstPageInfo=this.checkFirstPage(),this._web_id=this.options.web_id,this._tea.init({disable_auto_pv:!0,disable_sdk_monitor:!0,app_id:Number(C.y.APP_ID),channel:C.y.CHANNEL,log:this.options.log,enable_ab_test:!0,ab_channel_domain:"https://vmweb-sg.byteoversea.com",disable_webid:Boolean(this._web_id),autotrack:e?.useAutoTrack?{custom:"tea"}:void 0}),this.config({app_version:e?.appVersion?`1.0.${e?.appVersion.split(".").pop()}`:"",_staging_flag:this.options.isProd?0:1,web_id:this._web_id,...this.options.userInfo}),this.isInited=!0,d()(t=this.awaitInitQueue).call(t,(e=>{e()})),this.awaitInitQueue=[],this.register()}async start(){if(!this.isInited&&!this.isStarted){const[e,t]=(0,E.C1)();e&&(this._web_id=t)}this.isStarted=!0,this._tea.start(),this.execStartCallBacks(),await this.setWebIdToCustom(),this.sendCacheEvent()}async getABTestConfig(e,t){return await this.awaitForInit(),this.isStarted?new(i())((n=>{this._tea.getVar(e,t,(e=>{n(e)}))})):i().resolve(t)}report(e,t,n){!1===n?.hiddenPageReport&&this.currentPageHidden?this.options?.log:this.isStarted&&this.isSetWebId?(this.options?.log,this.tea.event(e,t)):this.cachedEvents.add({event:e,params:t})}reportBecon(e,t){this.isStarted&&this.isSetWebId?(this.options?.log,this.tea.beconEvent(e,t)):this.cachedBeaconEvents.add({event:e,params:t})}reportPredefinePageView(e){this.isStarted&&this.isSetWebId?(this.options?.log,e.is_first_visit_page=this.firstPageInfo.isFirstVisitPage?1:0,e.is_session_start_page=this.firstPageInfo.isSessionStartPage?1:0,this._tea.predefinePageView(e)):this.cachedPredefinePageView=e}sendCacheEvent(){if(this.cachedPredefinePageView&&this.reportPredefinePageView(this.cachedPredefinePageView),this.cachedEvents.size){for(const{event:e,params:t}of this.cachedEvents)this.report(e,t);this.cachedEvents.clear()}if(this.cachedBeaconEvents.size){for(const{event:e,params:t}of this.cachedBeaconEvents)this.options?.log,this.reportBecon(e,t);this.cachedBeaconEvents.clear()}}updateUserInfo(e){this.config({...e})}resetUserInfo(){this.config({...I})}destroy(){this.unregister()}getToken(){if(void 0!==this._web_id)return i().resolve({web_id:this._web_id});const e=window[S];if(void 0!==e)return i().resolve(e);const t=window[N];return t||(window[N]=new(i())((e=>{this._tea.getToken((t=>{t?.web_id?window[S]=t:window[N]=void 0,e(t??{})}),2e3)})).catch((()=>(window[N]=void 0,{}))),window[N])}async setWebIdToCustom(){const{web_id:e}=await this.getToken();e||b.error("reporter getToken not get web id",new Error,{content:"reporter getToken not get web id",level:"error"});const{custom:t}=this.getConfig()?.header??{};this.config({custom:{...t,web_id:e}}),this.isSetWebId=!0}config(e){this.fixEsLanguage(e);const{custom:t}=this.getConfig()?.header??{};this._tea.config({...e,custom:{...t,...e?.custom??{}}})}configUTParams(e){const{custom:t}=this.getConfig()?.header??{},{source:n,medium:a,campaign:o,term:r,sub_source:i}=e;this.config({custom:{...t,channel_level1:a,channel_level2:n,channel_level3:i,campaign_id:o,keywords:r}})}getConfig(e){try{return this._tea.getConfig(e)}catch{return{}}}enableTTWid(){this.config({enable_ttwebid:!0})}addStartCallBack(e){this.isStarted?e(null):this._startCallbacks.add(e)}checkEnableReport(){return this.isStarted&&this.isSetWebId}execStartCallBacks(){var e;d()(e=this._startCallbacks).call(e,(e=>{e(null)}))}checkFirstPage(){var e,t;const n=!p()(e=document.cookie).call(e,"web_id");return{isSessionStartPage:!p()(t=document.referrer).call(t,location.hostname)||n,isFirstVisitPage:n}}register(){d()(w).call(w,(e=>{window.document.addEventListener(e,this._reportWraperHandler)}))}unregister(){d()(w).call(w,(e=>{window.document.removeEventListener(e,this._reportWraperHandler)}))}reportWraperHandler(e){let t=0;const n=e.composedPath(),a=e.type;let o,r="",i="";for(o=n[t];o;){const{dataset:e}=o;if(e&&e[`${k}Events`])break;o=n[++t]}if(o){const{dataset:e}=o;r=JSON.parse(e?.[`${k}Events`]||""),i=JSON.parse(e?.[`${k}Params`]||"")}if(r){const e=r[a];let t="",n={};if("object"!=typeof e)throw new Error("report event error, please confirm events is obj");t=e.event??"",n=e.params??{},t&&this.report(t,{...i,...n})}}fixEsLanguage(e){e?.custom?.lang?.toLocaleLowerCase()===x.zE.Spanish.key.toLocaleLowerCase()&&(e.custom.lang=x.Gp)}}const P=(()=>{let e;return()=>(e||(e=new R),e)})()},97404:(e,t,n)=>{"use strict";n.d(t,{T:()=>l});var a=n(14398),o=n.n(a),r=n(9887),i=n.n(r);class s{cachedEvents=new(o());start(){!function(){const e=void 0!==typeof window?window.gtag:void 0;"function"==typeof e&&e("consent","update",{analytics_storage:"granted"})}(),this.setGtag("accept_cookie"),this.sendCache()}report(e,t,n){e.checkEnableReport()||"function"!=typeof window.gtag?(this.cachedEvents.size>0&&this.sendCache(),this.setGtag(t,n)):this.cachedEvents.add({eventName:t,options:n})}sendCache(){var e;i()(e=this.cachedEvents).call(e,(e=>{this.setGtag(e.eventName,e?.options)})),this.cachedEvents.clear()}setGtag(e,t){!function(e,t,n){const a=void 0!==typeof window?window.gtag:void 0;"function"==typeof a&&a(e,t,n)}("event",e,t)}}const l=(()=>{let e;return()=>(e||(e=new s),e)})()},29475:(e,t,n)=>{"use strict";n.d(t,{S:()=>o});var a=n(99068);class o{reporter=(0,a.y)();report(e){this.reporter.report("age_gate_popup",e)}}},84945:(e,t,n)=>{"use strict";n.d(t,{n:()=>i});var a=n(33278),o=n.n(a),r=n(99068);class i{reporter=(0,r.y)();patchParams(e){const t={};try{const e=new(o())(window.location.href).searchParams,n=new(o())(window.location.href).pathname;t.from_page=e?.get("from_page")||"first_page",t.enter_from=e?.get("enter_from")||void 0,t.from_article_url_path=e?.get("from_article_url_path")||void 0,t.current_page="article_group_page",t.article_group_url_path=n}catch(n){}return{...t,...e}}report(e){const t=this.patchParams(e);this.reporter.report("article_group_page",t)}}},25237:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var a=n(33278),o=n.n(a),r=n(99068),i=n(65510);class s{reporter=(0,r.y)();patchParams(e){const t={};try{const n=new(o())(window.location.href).searchParams;t.from_page=n?.get("from_page")||"first_page",t.enter_from=n?.get("enter_from")||"first_page",t.from_article_url_path=n?.get("from_article_url_path")||void 0,t.from_article_group_url_path=n?.get("from_article_group_url_path")||void 0,t.article_url_path=location.pathname,"enter_smart_tool_page"===e.action&&(e.action_url?.includes(i.l.EDITOR_TOOLS.TRANSFORM.PATH)&&(t.tool_type="resize_video"),e.action_url?.includes(i.l.EDITOR_TOOLS.CUTOUT.PATH)&&(t.tool_type="remove_background"))}catch(n){}return{...t,...e}}report(e){const t=this.patchParams(e);this.reporter.report("article_page",t)}}},22599:(e,t,n)=>{"use strict";n.d(t,{C:()=>a,m:()=>i});var a,o=n(99068),r=n(97404);!function(e){e[e.LoginIn=0]="LoginIn",e[e.SignUp=1]="SignUp",e[e.ForgetPwd=2]="ForgetPwd"}(a||(a={}));class i{reporter=(0,o.y)();reportStatus(e){this.reporter.reportBecon("login_status",e),e.is_login_new_user&&(0,r.T)().report(this.reporter,"sign_up")}reportPageAction(e){this.reporter.report("login_page",e)}}},63427:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var a=n(99068);class o{reporter=(0,a.y)();report(e){this.reporter.reportBecon("switch_website_language",e)}}},86468:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var a=n(99068);class o{reporter=(0,a.y)();report(e){this.reporter.report("template_entrance_click",e)}}},76937:(e,t,n)=>{"use strict";n.d(t,{C1:()=>p,IX:()=>u});var a=n(59851),o=n.n(a),r=(n(18267),n(27918),n(28082),n(93062)),i=n(32383),s=n(65510);const l={Landing:()=>i.ZP.t("web_tdk_landing_title",{},"CapCut | All-In-One Video Editing Software"),MyCloud:()=>i.ZP.t("web_tdk_my_cloud_title",{},"My Cloud | All-In-One Video Editing Software\uff5cCapCut"),MyFilm:()=>i.ZP.t("web_tdk_my_film_title",{},"My Film | All-In-One Video Editing Software | CapCut"),MyDraft:()=>i.ZP.t("web_tdk_my_draft_title",{},"My Edit | All-In-One Video Editing Software | CapCut"),Detail:e=>i.ZP.t("web_tdk_detail_title",{placeholder0:e||""},"{placeholder0} | All-In-One Video Editing Software | CapCut"),MyShare:()=>"",Share:()=>"",LoginStatus:()=>i.ZP.t("web_tdk_login_status_title",{},"Logged In | All-In-One Video Editing Software | CapCut"),Render:()=>i.ZP.t("web_tdk_render_title",{},"CapCut | All-In-One Video Editing Software"),SignUp:()=>i.ZP.t("web_tdk_signup_title",{},"Signup - Capcut"),Login:()=>i.ZP.t("web_tdk_login_title",{},"Login - Capcut"),InviteUser:()=>i.ZP.t("web_tdk_invite_user_title",{},"Join CapCut - CapCut"),ForgetPassword:()=>i.ZP.t("web_tdk_forget_password_title",{},"Reset Password for Capcut"),CookieSettings:()=>i.ZP.t("web_tdk_cookie_settings_title",{},"Cookie Settings"),TeamInvite:()=>i.ZP.t("web_tdk_team_invite_title",{},"Join teamspace - Capcut"),Templates:()=>i.ZP.t("web_free_online_video_templates",{},"Free Online Video Templates | CapCut"),UploadLink:()=>i.ZP.t("web_externalupload_title",{},"Upload files"),Kep:e=>`${e}_capcut`},c={Landing:()=>i.ZP.t("web_tdk_landing_desc",{},"CapCut is an all-in-one online video editing software which makes creation, upload & share easier, with frame by frame track editor, cloud drive etc."),MyCloud:()=>i.ZP.t("web_tdk_my_cloud_desc",{},"CapCut new workstation has all features to make video creation, upload and share easier. Save your drafts & materials in cloud & collaborate across devices."),MyFilm:()=>i.ZP.t("web_tdk_my_film_desc",{},"CapCut is an all-in-one online video editing software which makes video creation, upload & share easier. Save your films in cloud drive and get easy access."),MyDraft:()=>i.ZP.t("web_tdk_my_draft_desc",{},"CapCut new workstation comes with all features to create, upload and share videos. Get easy access to edit your films anywhere with all devices, PC & mobile."),Detail:e=>i.ZP.t("web_tdk_detail_desc",{placeholder0:e||""},"You can preview/upload/download {placeholder0} in CapCut, and enjoy other video editing features."),MyShare:()=>"",Share:()=>"",LoginStatus:()=>i.ZP.t("web_tdk_login_status_desc",{},"Logged in successfully! Try out CapCut, your all-in-one online video editing software and collaborate easier than ever."),Render:()=>i.ZP.t("web_tdk_render_desc",{},"CapCut is an all-in-one online video editing software which makes creation, upload & share easier, with frame by frame track editor, cloud drive etc."),SignUp:()=>i.ZP.t("web_tdk_signup_desc",{},"Signup Capcut to explore the features of the free online video editor."),Login:()=>i.ZP.t("web_tdk_login_desc",{},"Login Capcut to explore all features of the free online video editor."),InviteUser:()=>i.ZP.t("web_tdk_invite_user_desc",{},"Invite new users to explore all features of the free online video editor in CapCut"),ForgetPassword:()=>i.ZP.t("web_tdk_forget_password_desc",{},"Forget your passwords? Reset your Capcut password here."),CookieSettings:()=>i.ZP.t("web_tdk_cookie_settings_desc",{},"Review our Cookies Policy for more information and set the cookie."),TeamInvite:()=>i.ZP.t("web_tdk_team_invite_desc",{},"Invite member & Capcut to explore all features of the free online video editor."),Templates:()=>i.ZP.t("web_find_and_use_cc",{},"Find and use CapCut well-designed free templates to customize your own video with ease."),Kep:(e,t)=>`capcut provide ${e} content, ${t}`},d={[s.l.WORKSPACE.CHILD.MY_DRAFT.MATCHER]:{title:l.MyDraft,desc:c.MyDraft,willChange:!1},[s.l.WORKSPACE.CHILD.MY_FILM.MATCHER]:{title:l.MyFilm,desc:c.MyFilm,willChange:!1},[s.l.WORKSPACE.CHILD.MY_CLOUD.MATCHER]:{title:l.MyCloud,desc:c.MyCloud,willChange:!1},[s.l.WORKSPACE.CHILD.MY_SHARE.MATCHER]:{title:l.MyShare,desc:c.MyShare,willChange:!1},[s.l.COOPERATION.SHARE.MATCHER]:{title:l.Share,desc:c.Share,willChange:!0},[s.l.COOPERATION.DETAIL.MATCHER]:{title:l.Detail,desc:c.Detail,willChange:!0},[s.l.COOPERATION.RENDER.MATCHER]:{title:l.Render,desc:c.Render,willChange:!1},[s.l.SIGN_UP.MATCHER]:{title:l.SignUp,desc:c.SignUp,willChange:!1},[s.l.LOGIN.MATCHER]:{title:l.Login,desc:c.Login,willChange:!1},[s.l.INVITE.MATCHER]:{title:l.InviteUser,desc:c.InviteUser,willChange:!1},[s.l.FORGET_PWD.MATCHER]:{title:l.ForgetPassword,desc:c.ForgetPassword,willChange:!1},[s.l.COOKIE_SETTINGS.MATCHER]:{title:l.CookieSettings,desc:c.CookieSettings,willChange:!1},[s.l.TEAM_INVITE.MATCHER]:{title:l.TeamInvite,desc:c.TeamInvite,willChange:!1},[s.l.KEP.MATCHER]:{title:l.Kep,desc:c.Kep,willChange:!1},[s.l.TEMPLATE_DETAIL.MATCHER]:{title:l.Kep,desc:c.Kep,willChange:!1},[s.l.TEMPLATE_DETAIL_KEYWORDS.MATCHER]:{title:l.Kep,desc:c.Kep,willChange:!1}};function u(e){for(const t of o()(d||{})){if((0,r.EQ)(t)(e))return d[t].title()}return""}const p=()=>{const e=window.GATEWAY_INJECTED_WEB_ID,t="string"==typeof e&&Boolean(e);return[t,t?e:void 0]}},63092:(e,t,n)=>{"use strict";n.d(t,{xt:()=>o,T8:()=>r,cg:()=>i});var a=n(99068);const o="cancel_sub_popup";var r;!function(e){e.SHOW="show",e.YES="yes",e.NOT_NOW="not_now"}(r||(r={}));class i{reporter=(0,a.y)();report(e){this.reporter.report(o,e)}}},10572:(e,t,n)=>{"use strict";n.d(t,{d3:()=>o,$p:()=>r,C:()=>l});var a=n(99068);const o="click_cloud_entrance";var r,i,s;!function(e){e.NOT_YET="not_yet",e.IN_PROGRESS="in_progress",e.EXPIRE="expire"}(r||(r={})),function(e){e.UPGRADE="upgrade",e.UPLOAD_FAIL="upload_fail",e.EXPORT_FAIL="export_fail"}(i||(i={})),function(e){e.WORKSPACE="workspace",e.EDITOR="editor"}(s||(s={}));class l{repoter=(0,a.y)();report(e){this.repoter.report(o,e)}}},79546:(e,t,n)=>{"use strict";n.d(t,{io:()=>a,FL:()=>o,eG:()=>c});var a,o,r=n(999),i=n.n(r),s=n(97404),l=n(99068);!function(e){e.APPLE="apple",e.GOOGLE="google",e.MAC="mac",e.WINDOWS="windows"}(a||(a={})),function(e){e.OFFICAL_WEBSITE="offical_website",e.PAGE_FOOTER="page_footer",e.PAGE_HEADER="page_header"}(o||(o={}));class c{reporter=(0,l.y)();report(e){this.reporter.report("click_download_channel",e),e.channel===a.MAC||e.channel===a.WINDOWS?(0,s.T)().report(this.reporter,"download_pc"):e.channel!==a.APPLE&&e.channel!==a.GOOGLE||(0,s.T)().report(this.reporter,"download_app")}reportForArticlePageButton(e,t){const n=new(i())([["mac_download","mac"],["windows_download","windows"],["app_store","apple"],["google_play","google"]]).get(e);n&&(this.reporter.reportBecon("click_download_channel",{...t,channel:n}),n===a.MAC||n===a.WINDOWS?(0,s.T)().report(this.reporter,"download_pc"):n!==a.APPLE&&n!==a.GOOGLE||(0,s.T)().report(this.reporter,"download_app"))}}},19717:(e,t,n)=>{"use strict";n.d(t,{uq:()=>o,Ip:()=>r,Zz:()=>i,p9:()=>s,Xc:()=>l,zS:()=>c});var a=n(99068);const o="cloud_pay_window";var r,i,s,l;!function(e){e.SHOW="show",e.CLOSE="close",e.POLICY="policy",e.TERMS="terms",e.CONFIRM_PACKAGE="confirm_package",e.PAY="pay",e.PAY_STATUS="pay_status",e.OK="ok",e.CHECK="check",e.LINK="link",e.MANAGEMENT="management",e.CANCEL_SUB="cancel_sub"}(r||(r={})),function(e){e.PACKAGE="package",e.PAY="pay",e.LINK="link",e.MANAGE="manage"}(i||(i={})),function(e){e.PAYPAL="paypal",e.NEW_CARD="new_card",e.CARD="card"}(s||(s={})),function(e){e.SUCCESS="success",e.FAIL="fail"}(l||(l={}));class c{repoter=(0,a.y)();report(e){this.repoter.report(o,e)}}},16974:(e,t,n)=>{"use strict";n.d(t,{bH:()=>o,NP:()=>r,y4:()=>i});var a=n(99068);const o="cloud_space_popup";var r;!function(e){e.SHOW="show",e.CANCEL="cancel",e.EXPANSION="expansion"}(r||(r={}));class i{reporter=(0,a.y)();report(e){this.reporter.report(o,e)}}},95020:(e,t,n)=>{"use strict";n.d(t,{RP:()=>a,q$:()=>o});var a,o,r,i;n(33278);!function(e){e.LOGIN="login",e.ENTER_EDITOR_PAGE="enter_edit_page",e.SHOW_DOWNLOAD_CHROME="show_download_chrome",e.CLICK_DOWNLOAD_CHROME="click_download_chrome",e.SIGN_UP="sign_up",e.APP_STORE="app_store",e.GOOGLE_PLAY="google_play",e.PC_DOWNLOAD="pc_download",e.MAC_DOWNLOAD="mac_download",e.WINDOWS_DOWNLOAD="windows_download",e.APP_DOWNLOAD="app_download",e.SHOW="show",e.CREATE_TEAMSPACE="create_teamspace",e.ARTICLE_PAGE="article_page",e.ENTER_SMART_TOOL_PAGE="enter_smart_tool_page",e.ENTER_TEMPLATE_PAGE="enter_template_page"}(a||(a={})),function(e){e.SHOW="show",e.LOGIN_PROFILE="login_profile",e.LANDING_PAGE_BOTTOM="landing_page_bottom",e.PICTURE="picture"}(o||(o={})),function(e){e.ARTICLE_PAGE="article_page"}(r||(r={})),function(e){e.ANCHOR="anchor",e.BREADCRUMB="breadcrumb"}(i||(i={}))},18746:(e,t,n)=>{"use strict";n.d(t,{j:()=>d});var a=n(90151),o=n.n(a),r=n(17630),i=n.n(r),s=n(99068),l=n(76937);const c="undefined"!=typeof window;class d{static startTime=o()();static currentPage="";static oldPageInfo={url:c?location.href:"",url_path:c?location.pathname:"",title:"",current_page:c?d.currentPage:""};static intervalId;static reported=!1;reporter=(0,s.y)();static setReported=e=>{d.reported=e};static setCurrentPage=e=>{d.currentPage=e};static registerReport=()=>{d.oldPageInfo={url:c?location.href:"",url_path:c?location.pathname:"",title:c?document.title:"",current_page:c?d.currentPage:""};const e=()=>{d.fastReport("from-onblur"),clearInterval(d.intervalId)};window.addEventListener("beforeunload",(()=>{window.removeEventListener("blur",e),d.fastReport("from-beforeunload")})),window.addEventListener("blur",e),window.onfocus=()=>{d.updateTime(),d.reportInterval()}};static reportInterval=()=>{const e=i()((async()=>{d.updateTime(),d.fastReport("from-beforeunload",6e4)}),6e4);d.intervalId=Number(e)};static updateTime=()=>{d.startTime=o()()};static fastReport=(e,t)=>{const n=new d,a=o()();n.report({...d.oldPageInfo,duration:t??a-d.startTime,from:e}),d.oldPageInfo={url:location.href,url_path:location.pathname,title:document.title,current_page:d.currentPage},d.updateTime()};report(e){d.reported||(e.title||(e.title=(0,l.IX)(e.url_path)),this.reporter.reportBecon("page_stay_time",e))}}},70749:(e,t,n)=>{"use strict";n.d(t,{q:()=>a,H:()=>r});var a,o=n(99068);!function(e){e.HEADER="page_header",e.FOOTER="page_footer"}(a||(a={}));class r{reporter=(0,o.y)();report(e){this.reporter.report("switch_homepage_tab",e)}}},43169:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={links:"OefgDiS4nZe9H56JCR_n"}},955:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});const a={container:"fgCj6CvGWPnZZ9EXihKa","is-mobile":"RL2gYpeisrL_ZoUBKJ1D"}},28202:()=>{},46278:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAf0AAABhBAMAAAAuMWU3AAAAKlBMVEVHcEwWFh0VFRwUFB0UFBwWFhwVFRwVFRwVFR0QEBEQECAVFR0VFRwWFh3Nn8ABAAAADXRSTlMA35wiQoBgu+8QEG/PDCRvCwAACbZJREFUeNrtnO1vFEUYwBf2oNwVE3nXD5eUK/UQvWRboKCG5CzFfjAkTbGKEJJriOBLSIpWaoRLjMY0xlxSgfpFTSpR4wdNqhY1JCaoJPKliXv0uCMw/4u93t3uMzPPvO3tYrMwH7udm/09M888bzNrWZaV/PlPotNq/5y0YtgSRaLd3qF6DuXjwJ8jBu1JiE/iwL/aBJ/cm/Y67iOx4DeafkKut/r1kVjwrzXDJ5Vmv5mSBv/uwcHBg5G+/qX6CNNt/MAqQ/7atI8v538um270eHs+Ivj+7GNNw/RSYBEcNuQnwz6+jP+590Cf6i8R0H++He5LO+6P+hPy6FKnzga+mD/5G9NroxM2/lCJHuHDYJtR0ZT/ztKekSZyfnsnbzjeCJU+eZQbwe0O8kMlU/5bwGES8NvYoqp1R4u/1M4F+CVTfLII/EWcP3kC7xmiCjyPj1C4D/wVoDF5k5cLkX8f+f/4YcsbOZSh8SdKK5jfLkbOf4KsYP5eEjW/OGJZAfx2OnL+XOj87gat9pgGv3j6w+KXBKxB+atavhNvdPMm0x8W/4m2+S/m2fVfdYLgI/zrmYxZJnuhFC7/GnqEbZnMZNqMf6bE8ZOyEwB/Qj45U/Oz9T+lXtweJv8B6PI+0fjNPVkD/qXYjedXC+B1Dn8rYpnB4/OzfqBaDI8fKNjH/i9e3q7LXw9dEX6VAMY4/E/l2QRqcdhjYfGD5b91looH9fiXYzeMXy6AIQ7/41np3rSZeTIQEr+//CvMC/SlNfgTaSLilwlAE9/29roy97gvHH7P+Lvcz32XVvI3Yzecn2xx2sMHpnmOf9gXBr/tjfA+ohtKM/4IkfGTLbrhlmCp7G89v60E2XM10zOvkEj/1czoQYGEy4HEp+DHtvRGpptuInfhjGT6qXa5kSCqnZPkLb9oZBCnTqLqPy7qdmi03o5zf3kJ8PeMNlveUtu0GR4/r7BNFQ0b1MzaLUny0u7l1siYL7dnKJ2DiaM/hNpPb8Eut2WUAb/XuiylUZ8paePbMEeqhb+0kbRWjQuW421a57p5Cd+yIuJnBWCA79tmR8MGtdrfKH8nHNbNcxLuCos/JxcAj++KjUyH3t70B/17DsKfLKJFJ6tTufxN+ZFc7Q3GW6IDDsnW9qNycfIBDCGbEP4vsaKLnoQN+bHy/zv4Sl3GP6ZRSxo3il/dEzx/UVB1XKeWsCm/lVjgBNBNeUu6+N7CLphMvycGwH+PezpHr7DxEPmRRd4QALIyjmn5pk6QgqMrTcct0p2Hw+QXCADB79aqpbnSNEI6EL87Ta2wfKj8qADsouL0j9D9qWpm7zb2ZBck/G5m5AK7A7b2julw+TEBFHXSPWgtsawVv1avtfICOP9y+qTfe69PoIbVrPb4Xz7VbHmxoTPHt3S83xzj04wJ+Dcz71WBve+1yZ8X5EVk7YZ2LeG2Tvy6q/WHBZS/Osvk0xvnTnJqDQvIb+2VC2CrFQp/J7dGVqP8nn+bWoAWMEJ+a68MH8934Px3Jf+yijPgLUCKHwB+DXtEt/7RON8MX0f/D/D++36EfxOfUr4D+N1I+MUC0MNv2T/Z/n+GV5E1CH+B3zEX4e4ZDb9IAGU9fGtBvTqLfIIgVeL4XWTJlKH/40TDjwtAXRtibNu0UkRdfDfIX0ai6ipMsM1FxI8JQK84Cvnzyi0iz0cEkH8RMRku9J7Go+IfamP6vdnpUpp/JG0A+f/Famow/v1kRa7/A8q3s7EdYhXHfx0+TgGt6lCb2Hb4Lwr2P00BrFMawATmv6zn+McxnXGAs1SNhH9GdK5KUwCr6TPSYv4ykjYU86d9/oS60h+cf0Z8FrSiJYCEMjuLzn+H/vynSkoVC8w/IzsKu0WH33u7xTb1/1ERv2diyqHzrym1Hf94b1dz5Pw1pCgH+T8Q2ozDygpbVPGvjgC8t9uksP+O3P5T6d21UGbrlRVWnr+owZ9Q5z80BNBBJPWJxLS/l83J/b+KyP8D13WQBZB0gvIjme6zAQSQEB7/qA/h+P7/OL+/a/n/4PgPb2STRwt+inCaTcvJ+LFEP1IY2qwUQJGr2IAh/NmhNsi1SPyX5+slt5kSO6dj9lEC+PPs/gH5C2p89BaDKgEMTucwZcKZhYbSH+YnuBfhf5zf/m4xKkbIEQ6i4IeI46x8IT9tn21BmQcRgOoOByjuuODCS/J0a9P7nvcQigh/mfUOPZtoCy68DJSa83qG3UI/4/lp+8Jj7hI+UQkAJPRrzcOJVvJQkXNgK5zI6PzfMGdTu5Dq8fnWNtu8bVbwl2CV1Z+7IP0Gw4ekBNI2LgHtp+48vTs/OPhWNk0QB3aYHZ7mr3AhiWNxClC/W/jr4OCpkZvAK/6Kkdca6JOt5/wT+bFWcW1UaQEE55/TzBGi5wX5/02MXfbmM5WWn3/uoAdIteT7AYxQWju5YylO9SJu0RGDww08v7d/l+s7dHJIWP9ZvtB4uUg4l7pXzt/pldfq4yV/omKSBP3rO5HzLxMqv9B9NUh5u8W/Cqzd0ZH3JPW/qZ7RbInwIZXkiH2dP1ny1W90ZIEe3X841ZM5i53/mVA7xm7B5HgDwy9UEHn9F3rMvfLz//gLlOndVHT+abNOZCAVQKcCIReIH3p74gVQAPaOaR+xDgrKj7q4e80E0Cvn/yEQP+UwX5Hy2+ijOa78jvAL6hx8VlAmADsn5ednL6c+/3KPfrHfZfzARebXD2M9aH5hmQcRgCTHLQqlHXx9VJDzX6wI/7YUHivkxz7pMIw6KDS/pMrVZ1QV+BYvognUdxjhZ5SkOqsl4qoj0kD/roZdEvFLi3x9RjnRPuT1/OswV5iViZ3/zOGzJxWAB8BpYFVkPQC/osi3z0gA/ezr1eD3GcZoRcL4KT7s5AkXs9YmhPpB7VapHMqvTHEPGQnAfpr61420toxRkSbGD40OfvDGPk2N8OGb1MOdYlWFq8Pj1yjy8TegypJCp9XvS+Av7rtZA2kgl4HMcqP5rUTz1pwr/LLHN694uryN+8TKgHeu5olZkeSmdnj3H3VqnLwA5L3sF0Yyk4JbHvahpUdPHRTkRxu5nj0/Zycz8zK1TA3WR8j8+iz2cM9IdvLtnpNY/8RrS92OH/QG1CzxjpnxB2nqE0RRDKh5/3lDXPmDtof8D/kf8j9Y/DA2eRD5F4H/FAP+kjE/8K5jwL9gyn8HJKVjwJ8z5b8Oos8Y8B825e8C4XcM+E2/f9nMYjUEEAP+hCF+K5G4txQP/hX2/dv7z2/4/WMHpgTjwC/7nhQRnQxoCiAW/LaBBtCpuKFY8Fv26Zta8LWN15ies7Hgf5Dbf/jY3ljNhf/wAAAAAElFTkSuQmCC"},19245:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAf0AAABhBAMAAAAuMWU3AAAAJFBMVEVHcEzm5ubn5+fm5ubn5+fk5OTm5ubm5ubf39/m5ubn5+fm5uZUCnWMAAAAC3RSTlMA36GEIT9exBDvb+GL0IUAAAl1SURBVHja7ZzPUxNXHMAX2JAVL4pg6+QCCbV1uDBEBeQSwOKvS5RSZsolWEbbcqFWajGXaPwxrRdHOoPTXGit1o6XbiLGdP+5JiTZ/b73vu/XZtcyq++mYfft5/u+7/vz7RqGYVh/fO+ojNqNVSOCI5Z3lMdN4sqlbBT4px2NMQnxnSjwd+vgO9WCe+GsEwl+reV3nHWAHwX+Xj18p9K6rlhS4D+7uLj4RaiPf68xQ6GDG3Rp8tcKHr6Y/+JEouU2nocEPz9+rDXDKd8iWNbkd8Y8fBH/xU1oNf4Mgf7BMJzh1LvZ/o5zqH5RXxOfz2/9RV11JBM0/lKJnOFJztdt8rr8b+s2I+GI+c0p1nF8Eyi9xc5gj/i5UUmXfxcETBx+cxQzHCPh4tfHjz7u5Gjzg3gR57c4eyrALbCCz5B7B/wVsGNw/stO2PznnP+PHw6Uv8cJmz9W2sf8Zj50fq7P2g/8M07Y/PyMZR/wm4nQ+UcD57cPK41jCvz85Q+KX5Cw+uWvKiVyrNPN6ix/UPzTHfMXs7T+VzN+8BH+OFUxSyZvlYLlJ91L7aP6DAk9/mKJ4XfKGR/4G+LF2X6+l5VZXw0HyX8Jhrynm/ecn9Dgr+duLL9cAN8y+EcRzwx+vu3lpPP54PjBBtvKUMlgTg0f45cJgI04fxNXEwjlMFeC4gfqf5RI+q+q8e/lbhi/WABLDP5WQWibBqlfrgTE76l/hXqA2YQCfyzh8PhFAlDEN0u8h2vUCwPhd52/zdzuQULK38rdcH5+kUIRH7jmHfbH2SD4TXeGn5C9IXXjBx0Rv3NENd3iqMqF9u9v5LW7Z8n0i4z8b1Y5Ei77Ep+EHzPpzUo3VczhPPiaYPlJVT3R9N7HBXXLX5oVxO1VdPuv8y5bSDfGGeZ/TgP+VLo1cobcpxVZ/KzEN1UUfFCraleX5L2ze6NZMd8b54k9BwtHr7i7nzTBNmMyyoDfHUOG1KkXS8r4JqyRKuHXDUlba2ygjm/IPTfCSvi1ERI/LQANfM83ZxR8kNdSxfj74LR2jpHwUFD8o2IBsPg238nE1WzTK/J+GYTfGkWbTkafVP11+ZFa7QYVLZEJh8C0PZIqJ1YfG0D4H2JNF2D+y0ZQ/Fj7/6YAf1Khl7Sulb/a0yz/KKfreEAuYV1+TAAjRLSkiu8qdk5n+V0xwHSc+XWH1LD1APmRVW4KABHMpFJsmvHTcLSF5bhd8uKxIPk5AuDrhaSXZgvLCAlf/HaB0LBsoPyoAMy85PQPN/ypKqp/fyqZF/DbyfFPaQvYth2FYPkxAeRVyj1oL7GilL9WX7brAjj/Xvlk3n2up3CH1YzO+E9fa40s39Lr4xsq0W/bRthZqq5C8Q9Sz1WBV1c75M9y6iKd4RsKyZ8bwH1Gt4tI/nKBqqc3z52Ex2/MiQVw1AiEv4/RkW6U341vrTz0gCHyG3Mi/K2COv+/gj/pYuJ3K4/wA8A70OWHyY/k+Xr4Kvv/Ehu/X0D4B9iS8lvAb4fCzxeAGn7b/4nSnzV2i/Qg/DnWYr6B/i8cfp4AKmr47finKjf/sEBglRh+G1GZSoDxD/dyVADy3hDl2wpSFRnjPTGiQXHwf2vy+lpH/JgA1JqjUDuzUhORZTMCyL+LuAwbRk9DYfEvdbD87uoMSd0/UjaA/P9gPTWY/z7dl/p/Sfp0JmYhuhh+Ir21wK6Ky11sJ/xF3P6pCuCA1AHGMP64mN8AWXWPIzWxHfAXeeeqFAXQTZ6R5vOXtfgTHn9M3un3z1/knwWtKAkg5sjKE774wfpbJekW881fFB2FPaLC7z7dbof7/xCP33Wx5cD5e0od5z+uA6xlxPw1pCkH+R9zfcaytMMWVv6rIgD36QYk/j+j4f97oczi0g6rP/6YvP6hIIC4I+hPxAqeLdthw0bIX0GsahUKA1cAK4Py5+X8SKV72IcAYtzjH40pMt7+XWftu1L8D47/sE7Wmsp5e7BAl+Ugf06OP4k0hgZVMyDEBdSn8FaHUPBeJP/LskblDdViZ/aYOeUA/hxtPwT8eJ8DEYCsAAxO51BtwmK+uemX2QWeQfg/Zs3fa2qLOc5JBiLnpYhDtHwhP7k4JqfNgwhA9g4HqG7b4IUX63rb6P3Mqscowl9hbcohqoBIvfCyUGqt6xrdIbsDbnkQ8y+jvDaPDwEAUdaOt4ygtZB3jX43A9iD1v/GmKR6DOke326b2YsnXL1epkOMaZAydLHpA/K2yghfM2QCuEBkzqkXi4vfjSccJIAdo6cn+V353KXPFBAnbGs/1Ge4Nr4JouJH1AQ9MCaLM/GJ+Firdg8s5kjOPyeoI0SXOfX/AcovV6UNtBZ/nMxZXPk+hsJoW/KMITnVi4RFJzUON7D8rv0uN2y8tcTt/3zS+Of9vMOE1DNi/j63vbaXMPxOtnqJuz+YQs6/bMjiQnvST3u7zd8FdDed3hT0/7bT6YmSwx54ERyxz8EkpL790uN5cnbvx+3U+DB2/mdDHhjbOZ3jDRQ/d4OI+78wYp4Rn//HH6CMPh3DP6iSGQgF0CdBmPbFD6M9vgLkYMOEHL/SAQrKj4a4c3oCmBHzP/TFT5QU7wr5cQ3bQbcnxc/pc7CdMZEA0LdfPX529Ubl51+q5IP9LeIHITKrP5T3IPm5bR62LGoLaty8VDqD60dlTX7+6aaaiHNUjsgeICMDFJJf0OWa1eoK4GXULc72HZOff6sWlERczfB2oPeuBvnuKOQXNvlmtWqis8jjea/DFCnNxM5/TuOrJxSAC8CoR5XnPQC/pMl3TksA8/Tj1eD3GVbIjYTxE3zY0YsYzVjb4GZ0hLUijpYOqb//tKQlAHOCLJ+Su2WFyDQxfuh08JMn5nVihifE9xXME/ytCrXD5Vdo8rFvQJVFKjPvHd5iv5t1pUXX35j2SrIxUiS/0dsqQNncL3vc98LDfuYTKwvuuRrmHQNXctunXIej0uNkBSC+yvwynbyRTKFveZhf1386s8qpjzZrPZ8/S95IvRDJ2KrP8Gl9hvPoAqSTt5KpVez6mDe7Tot3RY/fz5CfIApjQsX3nw9Hld/v+MD/gf8D//vFD3OT95F/F8RPEeAvafOD6DoC/Hld/regKB0B/mld/nWQfUaAf1mXfwyk3xHg1/3+ZauK1RRABPhjmvjtQuJcKRr8++z7t++eX/P7xxlYEowCv//vX89Gg5/br0AGWYpbigS/YV7dVIKv9b+krixEgv99Hv8Bvzlvz5f/uDsAAAAASUVORK5CYII="},34859:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAAS1BMVEVHcExCQkdJSU9DQ0hJSU5CQkYpKSxAQEZJSU9KSk9HR0s/P0I8PEVKSk8sLC8pKSwoKCwpKStKSk8pKSxEREg5OT4tLTEzMzcrKy6kMmfjAAAAEnRSTlMAbLdEmYPmIN/vXnkQz5X+yaoXs/oKAAAB/ElEQVRYw6VX2baDIAx0qYJatQ2b//+l19p6ji0TDNd51RmSQLaiYKD6pho1rdBj1dSqyELdbNQj9K2Wsu9DRxC6V1foL3TDqUSZoL+tSNJVRafQ6v/Hf/woOX5DQgyYfyMxbog/UgaqS+dDGwbKRPMTf/SPdcEbswRn0devu1Dg/mwwO5YAJLrje9Dxd7eYI1wykD3gmx+4hBNKn/ORQndnX6A1AJa7CRBBjwQCZ0IvM4A3IY5AwALAhK3+kcyD9TnEf9Y4CYzJ8UFLQ4AE9HoHdEWAFApBjkAP6xgnALMa1WHxNb4yClUyhwVAPtGIMploQXyP6oouYL1yUgOIsAB6i55yBKwXOcALRAocn3AQozg4ttUmGpINHysWZ9mfxiLZ0K11LsHeHlJDlzCgkp6DGqVzDlTBXcOrMX5e9OIDFwjNzSUuygaP+uPW5WtxNgKJbfjsTk/fq7J3wIPIB2d4LO63oG2zaSeoRjAn9xGhOe8puK7tY87BBGdO4cDMWmbwDwqHsbniykiqRep4yArGyE34GrLeTlgjRDzmvW8iSAVcPGhuXd5LBRY4bo9iD9YuW6FxfRLzl4lZOIT8eeJWlqGV8NshsXSdK8yP9ObXt/8//mPElJBom7tgd1Vle4X+Xr6fPxrz3E513gK/rv/Px0tmbh/PqWQj9wf4kuY8txkqgQAAAABJRU5ErkJggg=="},87860:(e,t,n)=>{"use strict";e.exports=n.p+"image/download_for_computer.5c8d07cb.png"},4611:e=>{"use strict";e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPwAAADkCAMAAACL8LmjAAABtlBMVEVHcEw5O0OMjZpnaXOho66JipeWmpwmJj5lY3MoKEq2wuOWmKKxtb4AAAA1NUGBhJD////x8fEAAAD19vb09PT6+vr29vb8/P34+PjWof+K0OBTq9VPqNlXrtFcscwzlvM4mu4VFBRLptw8nOoskvlhtceCgpEICAhIpN8/nufU5v9ITWFCoOXM4P7Z2trKy8tousEkIyfD2fuu7d0/QljGyvw2OE3g4OCjtP/S09PJ5Oyf4NjBwsNFouJEoeMxKins7OwwMTmW2OG4t7nPnPiDytnMuf3m5ueOzMavxv6Ki43ix/CsrK5OTU1vb3HVr/9/gcp8fH6hoqVIIj+10/lgY2mXl5m4gtSr4OPe7O1Rs62wrsvPacBEOza9u/NVLVC3qupZWlqYqNHhfNbbdc3q0/19UoT5oupnPmZ3uubylePFkOppse1bqfPYjjvv8/ToidlJoPatnOBhsd/Jy+bMZ0miiXrar+Di7vySm8P+YZjwzW3BmpN5Tj3hpk32vjyMlN2VX0rRjnLDktb8d7t6oqWvgEbCVan530ygR3nyYXT/91infLo5OtRgkLj49sPx6a6lfvRS9EInAAAAEHRSTlMA7e184+1DH0MN/qvp/qTTjOz7EAAAF2ZJREFUeNrsnO9P4loeh2cXZ8SVuWOlAhGVwTsK6tiKMXRLqrQ2pneb0qQNNJqNL3hJMmay6Rv3D7j/957T09LftDVDT93bDwioY+nDc873nJ4yfPhQpkyZMmXKlClTpkyZMmXKlClTpkyZMmXKlClTpkyZd5+tvFIw7s1qZXt7Y82p/aNmP9quVKqbxRBe3d6o6drsYhjIzfAGXkO5cG4ulnfuz4KBW7G3d/pf1d7wTD1VlI1KFXcb2Kxs6NoF3ENhPEiR8WA8nEzmE+vLvrO+QIbw14P4zQjOvQBfkotTZQMr/lalJgNfQre3u9vb/QyyC9OzLuiR+33P/uF4OBZAxtbVk+EA/YH7197v7Z98/oyepdcVQFPRNyrY8KsbxgUg382UXncsjEGEMbp3k2VDn3sW/4W+janzV2qzG6G3mznd6LxlS8OhVqtiafL6zbC7izmD4UWtgsG77tHeHcw1WRe5iMyc5t7LrFYFf07bYVl4y3GiYsjaZOw+8/BGyZ2+ogwFB0sVifjwA9TTYbKxT1ZsVVLmNn9veCPm3PKrgB09e1djiJWZoKYBL9nca6u3SzltaniTb7/frN0MEcmEIhIyR+IhfTb1ctKW2YHtfraR54i3fWrXOo1IDBTUs2Yn3UEmeCNx09Lc7vdyJddGjzjUZc+O30PZqsrQ/CCbeSUomgZt3ZAViSAYCoVH9MKwlp/6bRU1+rmzX9pMZyV+LirzMDyH+jxMttmQv5YwhjYnlLEqzwWGEJ+tGIz0jBr+aW7qN23xXae/SxPqWWRlTeci4AkBzWwGGacxM9+YoSoDAM8YwvOEIwjdHmY4noYb/TwY5tbrq6dIvNspDW3C0RNVJaLgxTdNX7qst27oXQPCE4w+A+yE0rOisaikAPV6XgV/Gw3xY7ejqzOdpmjDINTYXp8xPV+PN0SV0xQdNjIddX808wF7wKBeP9vOaWKro4MZL6i0svDJmSd3XZFImzma5ubT7reqOprf0Kn3j5C05y5qqYnGQbqCIaXftmK9WEJO7b6ioRJGZIrEOOMTxUbH+TXDZ9ow30P1Ph/47QvBN87hjpBjp9+qCYOUk7t8YnV64SYv+G7UBAxbNFTxcoHftIs9VxR4NH8efskF3kDwbrEnE7NWeMOCF75sYYBvtFKksUZ4HcF/zAPemdzSGdhB1sZO2gP9xzzWcasygkdzbzIle6v+i5lpznfs0B3+fTNH8wi+bjVqScq54TOGIspsEeAbHM3R4J5h6japVF8vPCVTvCTpYgHgGUAugvZPMyzDSOCWpnmWWSc8zfGyQaMjPATfywf+kz4LwEt0qyGCByLNAGyal1ia5bjGWuFZhdG98N3ZRi7w//4z2Oc5UdSBebZFchwlMiLNMhy7TvMcx+sy5YP/s5YP/GkQHpY8VPYb0Pdey7lZFzwjg+5O2xUPwZ/WMFV7DNMc0TAUdNBP4it4qcf5Xz3F5Rn843xa9Wuc33I5VvsAPEE2UmSdhzYcPvP4g9N8MeC7JXxu8FQJ/xft86X5Ev4vDH+5eInKD3iJzgJewSWc/ZHL1NpbnQZ+eH7xLZCOP19Rfoc5Ozv7DnJ2d/f97u7uFqQPcwxyANM+OFg82fPG5k5i6pjhf/4zxA6vNveSHLFDeIT/PYDu4rcX1mlKcidN6njhr0PonaV6yN6JY79z2PvHfYccmG+3249wu81U8E2s8OSPsHgPeyet9wOHHsSEJwN20qWB1fx/wuQp27xP+7HtHdIfgnbfSgnfKhb8En1Vm3fZPd4tcgj/9Db4j3jhO9+8RT6mzdvd/Rax973eEftb4fGa7yzNL7t7eu/R5tFYngBPFwDe5z2O3efdHeBtbujda56bzGDU1nuA/9Z5o3e71rUP/c1eZXZYsamDux3KYIoL3/GID7CfxfT3Y//4brH7zasSM5flpkaBh7yoaKKsyaJMq6IsFgm+s5zWfk1k7wfZHXjE7oOnVE7dseAZUZ4ZnCyrhmiIslwgeN8A/zW9d9Tm/ew++KaiSRY8Y1Ciwko0R+kSyyg0NvibILx3fHfMZ/V+2LbZj1x4Q9NhJmSBCl4APjifD3n/bh/bmv2oWucO8O0g/B4twvCFGeq2gvCdFfN5C/32umnn1Qx6d8u8g+6FTzfJofOb4X366IdH7N9WTOcX7s5OQ3Mb17vDXmD4rcogbN6dz3fCte5sHx1+wptRyHvbV+sAfZHhPwThk6d1Fvy1dXsZrHXoOK7takfmG+8DvhO7buOwQ/N7r9PF609oPqK/e8QfHSHzZEp4EjN8J/HwHcCfm+axOQXmA9693R2RI3hiLxX7HlEY+JjDd6vZN6/3m6DXj6LqvFPmrWZ/dHTylHYdq0l44G+wwa9ctkG9/d66DXsPiT9C67fJ7vfIQsCvXKpEBQ9l5DmUOWj7a51Df2IvXhP11e93cN+XZp2rwwWfsFTpHefd8T3G+4kLn/pNeVjNrzp8B/D9aR1N8PbOgzObCO9vhMdkPnKI8y9RO74T+ztAPymy+eoXP3ywv5/9HrU8349duvB6P7Hon+z3uDVXZ/nmthzNB47qkpasbsOHsKu92/CNtKcscjUfgP/6dfVSZT+0VBnf3216CF9Pf8IGK3wnjr0fsXRhmu0E7wg+3ey2SRbBfMScdnp7fWua6KRE3zRNyG22Fwtw0zbNw1F0f7fhM52rwwMPXveXuP5+/7q4NC+vF9f306l5fD59XbyCR6P9++nj6GE0evj5EOP95CrTIS2J27yX3ZnW/Wv/8nz/crq4BsTHx+cmID44b7/e378+Pk4fzMOnoPc3we9hNx9Z5/cX5qV5PTX3p/dgWnc+HS2mB4+j6f794+P9YjQyR/sx3t+R+ZfYZdpb50QkzMi03nPSbk8fPMu0jncf+vsyv/JdF06ZP7aH90P/cp0jfokP2F14RdNm85lRL675RHY0tW1HLFUeBso8Er+E5+cswzekZxU8piQKjQCNHYIFj5otLOY3f/OZj2G/DZ+aCKzOe7372F342Q5N7fDqfGeH1hRDphSF1mVdFRWRU1Qs5j8pPvPJ3qOWbax1m2jvPnh9IlnwvA7PUGqyzOm0ukdphmhgMf9JCJlP7z2yvzvoFvuJD55pIPMSwKVEw+AYVlQ02pBZGY95IWg+g/fDQz+9x/uJ7d0DPzF0kaafVXvdv4m/2ofMJ7IHT8t4tHvHOPvqqfaU9bGHYoHG+aD5NN5DZ2WC3q9c71dFHuddePh5EC9v8X4YqvMe71dXPEmmhof7gAcetLmX+GWbeO9HIe/Q/DJPmeAJEpv5HwlLVim9Q/QlPpkevgXYHfjT3/KFJ8j77P09yrsH/eoPsNl6Svi6x7y8kbd5/iXLct2Rt9aFhji31ZNkynN1UDzJ2ub/lrd5ctQPtPn+qvH9KHQQG/R+9QhLCUmmOldnfQRPzvAXy4IH8rTox/f3wLwufPge9P7HyPlcoVaKDo9eJzzw6LnJp9HoevQLQo2YJ4J0LmTCf1CuOx++hNG8tacoP1d9ko97jb04L6YDlfiZU/a/x2QePneKT8ZaohCeq/fLf/W+FKtfLPzmE3eScP9RCDPi+s7ME2SM0YDykGgyEv/9mI906MXwfZto3hVebPMMWZCU8CX8+uHVEHyWEv2+4Tf98IoqEvMls0rRvLNL9gNG/z+C/1D1wovPyoSWaY5SwC1JGtwAsCoyRVJjQ1REndDpST7wF/nDqzKncQN6IhuCMSZIgRuIJC9rM1ISuJnKCtyEzQe+hwFenjETfcA/T6iBoQF4VqBI9lmdkeSEmin/Y+/cftNG9jgunYdzpDwcgTDG4a0vOVKrYEyWUoMlHCCBgg2xEwjpQoACCdtIJFqlISoFQkLIpWn3nP/4/GbGt3Qht+3GaXe/MzYJHmN/5js3c/FQSi0dkn5Y58VaOSvKzkKWSssKRdV8ikIl5Tz8qSiKQLH/4dn8D+u8OUqd0OY7nVnlEXoA25y/08Xcj+P8v/79NAc5jwL/z8JfGd4Y3rqwqHvc79uQtuvu/UW5YGfKctjdXdvgqc7Juqad2Tsr14Q9qbD/jS7v3VXcRbn284quo1dHdsFn1tcfAD87K7pcu29MLd2HHg5bXXkC8NTJA+EzLqpogb9GF7uFftdFrTwFeBfAZzqZ9RNQAkpzM5fLzTbxA1IzN7XgY3h/2J/y+/1v/DFvOFyMFb0xeCiGY8ViMRaLFWM3we+/nVl5u3J09MpW5zOZZicDq+ZsE+jRA6LXVrc4Hw5HIBYBPOwNb4RjCD6MMuCwuBHbCN8IjzSzPz9vq/Odk2ancwL0yPlMjsDPInT0nKHEBHh/KpIqpvyRDS9yHrIgFn6O4NHfkBs3ws8c7VdhCQafQp2fYnGCrBIgK3/OWufv09x9Veeh1NvqvJWdUE5SvbSTSExu8PwG1tL1sIQX/OBdmgiP2G13Hrf0VtYdU+Tf0lkpYaG3wC95vTrkTTLxTXjMbp/zOxg9QdDXtzS1tgy1Ki2kysVZ68pCrxd7P0YCtmythufjrtXyuj52QX3lxYuadNxNLVnhj0z0V69W7HI+Z9btxHqrYmh1tYKDqUp09cqs+BkXHUaOezXfs+VyFEKZzEqNpyIff/r06fx80I4+i3bHbaDXvQf4VxatVOxy3uzIE4mtSqX0DmuvbmC3GnVQo1HainKtnXojoRd7l9mWLy35EfvwGIwea/zR8jnA9weD/pCLwtPjrmH9V/BbqwQ+/Y/HhEefkpvOI/jW9rZGD7Sl0skJrDA8oq9wFaj5WsnP0bQV/rRcvhiNoJR/Ou8Oifk95DsY3//lS/SgO+jHl3T6XdplhW9p8I/0haTJ8Dtbq63td4h+793e3t47GPj4MicNAl+vd/bnKjuo1SPOfw0vfxiNRu9GiL6H6XvnAN/9OG4rXxa52kHKYI9NgX+kr6LdAK87j9CROjp8FcZjV6jtJ5Uewcc0Yfgxgh996H7qnndRyefKg/PBx4OP/XYPzWJd9iP4mBdSPz34hA6v0QP3XqmT6ZQ0+P8d7e83O7jfM4p9TIMB60/l/uUH0GUXCv85LvjceABlvt9+H0Xz+SJ4r5ZZT9d5DL8NlpcwO6nyjavPn4+a7NaOMdDJ0IzhfCy1dDoc9BH74BLcH4xJi59Kt9vtMWJ/9mwxNRV+y0Z4wM9Zi/22zt7IZM7OMHxprvbT588rqxdWeFzsIzh6Efzg8rI9GCD7Pxxj9ugvX3q9MkfmL4+mDHYE/9oCn7cPHuhRzBnOb+vsnczJWanTadRL2Vr55YuV1crZOrCTi90M7drQ2SMxgO8P2kOo5Yh9dImd51685PDU5ch5DB8hAcOjQOKjOl+4Dk+UWDaKvcZez2RKJ6jJq/8sv5TzZ6VVbguMX0b0s7llcD4CIJjGmzrttQH+uD/ANf+CFPsyR2wnzqd0dhOehMd03nzrGtiZ5ZweqrrzcHlfKtXre6S1hziTl7egw1+FQU4ioaVugvOEHRRLncrjdn/8fth7fwlCfV0PBnxcuYxcJ86nYjhtJFZE8JibxMd03vzQAjm/rLGD81UCD9f0qKKTjr5RQvQnVyUdXs8rqPMbkWKkuBArQgZAV9dDjRvkADy8j8qL5TE0dflCOhsl+JrzRRQw/GuMjpa8XfDMsq5NHT7TrDcAHasBHV1nDw32QDC8rVb15KjOFyMLEbREIlDse0PAJuxojA/9XL/A+wSpkJW5bE0uI3jCbsBrstN5XVWAr+AGTyNHY1qs0gT4IDhfXCguYPZYSoKxzPA9wm8P8eAeGn4p5Nn1+eLZfPTg4wEonYpAatjnqcAzQcP55ercaqWBRnc6fOMa/AXHbVU39eSozmOSIqLn/9vt9+RybzjsldGVXVke9vusKxSSeFbJLioIXrk4hZTF38MrtjkfXCZhebNaXb+4WDUuaa1Xs1gct3qF4YMozoPzC0SA9Ntv3f5QlstY5KIuq26IvKQK8ULtWRY7n0XOI+3S9JrJvnl1YZvzJv3JaHTRMlTBS8WiFrBvLqMdIDZpZgNMXEBLJOID58c17e0MkglKmuVZNA9ebXGRwB+okE0ovQvBQyCxOjqzzXldm5vVxmhUuvp1qqqYHdDRct15od8+PkhNk1/Kl8uo4BvOu9bW1nT6142Sfc4b9AB/drYOjNO0ublppMZ13qA/Pk7dKPmnrJztZTV4CuCJ84HXa8G1hm3Oz5vOb16d/aoxTpGZU8HnpvNAn8JhmlKpU4inpynCvsDQdGBtLfA6sIZ1Zledpw6t1t9MbmUPQqPlWjClYS5ciyRgfC1zcNowHPY5wCNwtJp5a5fz1GEgGIBIvAetBYOBqSFIEgfmD9G+u+GF8MLdFNHJF8Ib6E5xrueBtUAAFrSesQte+72LIfq27yTgHNP2QtN4oglptK00/lmN+dMaCgfa2OikaIbRXsJySP3LCXbBmydjPS3rlsm/EQIxOujdZL6WeRif7fAPk4t2/ZGdifjvFP6b6AnAMyig1a0iiYz0kwLNTA/M9eMxjD3wzIPDLXz3ey076nySeaDoSU/dh1YrXvp/3xX8t9b3Cu++d3gq8JaJ8xi36Lxlbr3b5t67v5xx8pq2wfsKhQKcQlZSCknBPK8Qy7Li9VON02idpL4ZO6MoBcY2eHT/1fhiQXVLqlyIC3Oc4PE4yQ1bRZ8aEnmeToZ4kRedIT7kVukkH3KqLBPinYyPR5lAf83jmRSniFLS+bTbTnhHnMuneS7NFfLpNMd6kpLkxvQu1cMixQWJlUKqT3WqLjakOiU+FPdJIckXghwK+TyOa2FinBzciiCl3Xi7HfB4jpH4YpwVFt1yIZuOL8KZsAVyvwda9cTjAs/yPkGUQnGHlFSdcQEKichKgkALEo/u+uD73Y0gJsSJN5BgFCGe1m6sYR88J9eSnMwBPMupjhCvwTOqg48LPg1eFVSXKqqs6o4LSYkVknGBdTgo9q4TGPxerEp8RwrZBc/wPA/IITGZdPjQ/FpJ7exgq5j0UC7GCcVbECmH6HGKooMRHc6kG21yOKCHeDB8SFHm0umC21b4u808kXT8mXra8H+y/srwnr+d/9v5R4f34FGYuWhBiz+0857nAfQBgh7wW8kWzR/qMw1NygbnxF5ATLLfifOHX+N+LXJzt3w2Tztpp9NBiQ6P6KacDpF2eLJxlwj54mBcNA0bYAgAmcRkBZWmaNHpnHM/cecx4AT++cA8icT6WkhWZSmfF2QlLc0pSlbN1pziSyn///bO5kVxGIzD98JCitX2L/AgNGE9TIm8sIEcAqUTqJJeemoPe9xTHRT0oHva/av3TT8cdTzujLb4pJUGQXzyy5cVNI219oROkkInhTKpVuoFjCySIoUX+uDJh9fKaNzQXjTyr2mSZKyIpVE6jouUZ+lUEaOw2P9d1YZpiIvIpLjlN8TIxJuayDz6mA/Po75FIz8NCMhAa/qqIZvGWRTpOCBxkGEVXyczfmqiOI2X2BIxiRm4OhW2JR48+fCU9zy80QKby59tXF59SKtr45S+V66ffOjkbxjP8JjhYc/NgNf52UdtWzr1WbgZ8Dp/ad5oW+kTw0++C/pC+6vkyT3lT/38Wn1jz0YepAuggHEgFCiXHocIWODbez2RAs4Y7WPyN+M+02+TB6q4J1gApC0+SBgRwUds4rsMqOxj8jdYVJAjjlOdZntGXQ4ueD4IEIwK+8hphPIB464cccr6mfw5YSve4VSNPOWTSAke+UIEfIzb+An3Bfb08ch3icuVy8c9TH5zZl5JKTvrsi15NeDZHje21XwxX1SV3O126N4Ev823SIl8krygPutuFd9NvnIqB5HH4xHlE9l1+m25rfkseZm5ZpLJ+8pb83y3Xq8b+98yr3t+WadeYgs4A17ny+30DdXXv/429rskse7vNPJUEB5wgnMeD4Yz5n+ufqzWDbX9W7ZM8na4n8kLpfgIXKYY93qf/Deklj/s96vve+t+wMvD4Q/aL9vhfibvKQaKMtzpqP//7Q217+aL5J88efLkSc/4B+nqT3MY+97vAAAAAElFTkSuQmCC"},62406:()=>{},35867:()=>{}}]); //# sourceMappingURL=pages-index.0c04baf3.js.map